Skip to main content

resolve_linear_placement

Function resolve_linear_placement 

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

Resolve one IfcLinearPlacement referenced by id to its distance-along point on a basis curve.

Fails if id is missing or not an IfcLinearPlacement, RelativePlacement does not resolve to an IfcAxis2PlacementLinear whose Location is an IfcPointByDistanceExpression (WR1), or Axis/RefDirection are supplied one without the other (WR2).