ifcopenshell.api.alignment.has_zero_length_segment
¶
Module Contents¶
- ifcopenshell.api.alignment.has_zero_length_segment.has_zero_length_segment(entity: ifcopenshell.entity_instance) bool ¶
Returns true if the entity ends with a zero length segment. If the entity is an IfcCompositeCurve the IfcCurveSegment.Transition must be DISCONTINUOUS
- Parameters:
entity – An IfcAlignmentHorizontal, IfcAlignmentVertical, IfcAlignmentCant or IfcCompositeCurve
- Returns:
True if the zero length segment is present