Skip to main content

read_vertical_segment

Function read_vertical_segment 

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

Read one IfcAlignmentVerticalSegment referenced by id.

Fails if units is non-finite or non-positive, id is missing or not an IfcAlignmentVerticalSegment, an attribute is missing or the wrong kind, HorizontalLength is negative, any value is non-finite, or RadiusOfCurvature is present/absent inconsistently with PredefinedType (required for CircularArc/ParabolicArc, forbidden otherwise).