Skip to main content

elevation_law

Function elevation_law 

Source
pub fn elevation_law(segment: &VerticalSegment) -> AlignmentResult<ElevationLaw>
Expand description

The exact elevation law for one IfcAlignmentVerticalSegment.

The law is written in the segment own distance, restarting at zero, so a segment can be moved along the profile without rewriting its coefficients.

ยงErrors

Refuses a segment whose family has no determined exact law (CLOTHOID, whose business segment states no curvature, and the user-defined and unknown families), and one whose stated parameters contradict its family.