Skip to main content

station_equations

Function station_equations 

Source
pub fn station_equations(
    model: &Model,
    units: AlignmentUnits,
) -> AlignmentResult<Vec<StationEquation>>
👎Deprecated:

mixes the referents of every alignment; use Stationing::resolve for one alignment

Expand description

Resolve every IfcReferent in model that carries a Pset_Stationing property set into its distance-along/station mapping.

Distance along comes from the referent’s own IfcLinearPlacement (DistanceAlong of the underlying IfcPointByDistanceExpression), not from station: the two are related only by this returned table, never interchangeable.

This scans the whole model, so the referents of different alignments land in one table. crate::Stationing::resolve scopes the table to one alignment and maps station to distance along and back.