ifcopenshell.api.alignment.get_curve_segment_transition_code¶
Module Contents¶
- ifcopenshell.api.alignment.get_curve_segment_transition_code.get_curve_segment_transition_code(segment: ifcopenshell.entity_instance, next_segment: ifcopenshell.entity_instance, position_tolerance: float = 0.001) str¶
Returns the IfcCurveSegment.Transition of segment based on a comparison of the position, ref. direction, and curvature at the end of the segment and the start of next_segment.
- Parameters:
segment – segment for which the position curve is being being determined
next_segment – next segment
position_tolerance – tolerance used for evaluation positions. The default is 1mm
- Returns:
the transition code