Skip to main content

Module point

Module point 

Source
Expand description

Point lowering: exact parametric references, never evaluated here.

§Why these are not evaluated to Cartesian coordinates

IfcPointOnCurve and IfcPointOnSurface are legal IfcPoint subtypes whose position is defined by a parameter on a basis curve or surface, not by stored coordinates. Evaluating them here would require a curve/surface evaluator, which this crate deliberately does not own (ADR 0004). Preserving the reference and the parameter(s) exactly, as axiolid_model::PointOnCurve/PointOnSurface, keeps the adapter kernel-agnostic: an application chooses when and how to evaluate.

§Parameters are not lengths

Both parameters are in the basis’s own parameter space: an angle on a conic or revolved surface, a dimensionless ordinal on a polyline, a length on most other curves and surfaces. scale_parameter (curve) and trim_converter (surface) already encode this per-basis-kind distinction for trims; both are reused here rather than re-deriving the unit logic.

Functions§

lower_point_on_curve_node
Lower an IfcPointOnCurve into a PointOnCurve node.
lower_point_on_surface_node
Lower an IfcPointOnSurface into a PointOnSurface node.