Skip to main content

lower_vertical_segment

Function lower_vertical_segment 

Source
pub fn lower_vertical_segment(
    model: &Model,
    id: EntityId,
    units: AlignmentUnits,
) -> AlignmentResult<LoweredAlignmentCurve>
Expand description

Lower one IfcAlignmentVerticalSegment to an exact neutral curve.

Fails if id is missing or malformed, or the segment is not CONSTANTGRADIENT, or has a curvature radius, or unequal start/end gradients – exact neutral vertical lowering does not yet cover arcs or parabolas.