Skip to main content

cartesian_point_3d

Function cartesian_point_3d 

Source
pub fn cartesian_point_3d(
    model: &Model,
    referrer: EntityId,
    id: EntityId,
) -> GeometryResult<[f64; 3]>
Expand description

Resolve a reference that must be an IfcCartesianPoint, promoted to 3D.

Placements, operators and curves all need exactly this, and each of them getting the dangling-reference and wrong-type errors right independently is how those errors end up inconsistent.