ifcopenshell.api.alignment.map_alignment_cant_segment

Module Contents

ifcopenshell.api.alignment.map_alignment_cant_segment.map_alignment_cant_segment(file: ifcopenshell.file, segment: ifcopenshell.entity_instance, rail_head_distance: float) Sequence[ifcopenshell.entity_instance]

Creates IfcCurveSegment entities for the represention of the supplied IfcAlignmentCantSegment business logic entity instance. A pair of entities is returned because a single business logic segment of type HELMERTCURVE maps to two representaiton entities.

The IfcCurveSegment.Transition transition code is set to DISCONTINUOUS.