CIVORACivil Infrastructure, Volume, Offshore & Reclamation Analytics

Slope transition calculator

Toe offset, toe coordinates and elevations along a curved crest line, with slope-ratio transitions between control points.

Crest lineToe lineToe in transitionOffset lines at schedule chainages
Crest elevationToe elevation

How results are calculated

Crest position. The crest line CSV is treated as a polyline ordered by chainage. At chainage C, crest E, N and elevation are interpolated linearly between the two bracketing vertices.

Direction. The tangent is the unit vector from P(C−δ) to P(C+δ) (δ is a fraction of vertex spacing), so at a vertex it averages the two segments. Bearing = atan2(ΔE, ΔN). The right-hand normal is (tN, −tE), the left-hand normal (−tN, tE).

Toe E = Crest E + offset × normalE    Toe N = Crest N + offset × normalN

Slope. Between control points at C₁ and C₂, t = (C − C₁)/(C₂ − C₁). Toe elevation is interpolated with t. Height and offset:

ΔH = |Crest EL − Toe EL|    Toe offset = ΔH × n    Slope length = √(ΔH² + offset²)    θ = atan(1/n)

Transition methods (only when n₁ ≠ n₂): linear ratio n = n₁ + t(n₂ − n₁); linear toe offset offset = O₁ + t(O₂ − O₁), n = offset/ΔH; linear angle θ = θ₁ + t(θ₂ − θ₁); smooth S-curve uses s = 3t² − 2t³ in place of t.

Curvature. Radius is the circumradius through P(C−Δ), P(C), P(C+Δ). On the inside of a curve the toe line is shorter than the crest line; if the toe offset reaches the radius, perpendicular offsets cross and the result is flagged.