Skip to main content

gradient_curve3

Function gradient_curve3 

Source
pub fn gradient_curve3(
    model: &Model,
    entity: EntityId,
    units: AlignmentUnits,
) -> AlignmentResult<Curve3>
Expand description

The exact 3D centreline of entity, an IfcAlignment.

Same composition the graph lowering uses, returned directly so a caller can pass it to a CurveEvaluator. Returning the curve rather than a point keeps evaluation the caller’s choice: this crate stores exact geometry and never computes on it.