Skip to main content

Module authoring

Module authoring 

Source
Expand description

Author IFC4X3 alignment entities from plain numbers.

Mirrors ADR 0011: this is the write direction of the same bridge that reads alignments, and it indexes crate::slot rather than restating a single attribute position.

Authoring records is independent of 3D composition. A file states its horizontal layout, its vertical profile and its cant as separate parameter segments; composing them into a centreline is a lowering concern and does not gate writing the records.

Values are plain f64 in the units the caller declares in the file. Nothing here converts units: the readers apply AlignmentUnits on the way out, so applying a factor here too would double-scale.

Structs§

CantSegmentDraft
Authored fields for IfcAlignmentCantSegment.
HorizontalSegmentDraft
Authored fields for IfcAlignmentHorizontalSegment.
VerticalSegmentDraft
Authored fields for IfcAlignmentVerticalSegment.

Functions§

alignment
Stage an IfcAlignment.
alignment_segment
Stage an IfcAlignmentSegment wrapping one parameter segment.
axis2_placement_linear
Stage an IfcAxis2PlacementLinear.
cant_layout
Stage an IfcAlignmentCant.
cant_segment
Stage an IfcAlignmentCantSegment.
cartesian_point
Stage an IfcCartesianPoint.
horizontal_layout
Stage an IfcAlignmentHorizontal.
horizontal_segment
Stage an IfcAlignmentHorizontalSegment.
linear_element
Stage an IfcLinearElement.
linear_placement
Stage an IfcLinearPlacement.
linear_positioning_element
Stage an IfcLinearPositioningElement.
point_by_distance
Stage an IfcPointByDistanceExpression.
referent
Stage an IfcReferent.
stationing
Stage the Pset_Stationing property set for a referent.
vertical_layout
Stage an IfcAlignmentVertical.
vertical_segment
Stage an IfcAlignmentVerticalSegment.