ifcopenshell.api.alignment.get_curve

Module Contents

ifcopenshell.api.alignment.get_curve.get_curve(alignment: ifcopenshell.entity_instance) ifcopenshell.entity_instance

Returns the geometric representation curve for an alignment. A horizontal only will have a curve of type IfcCompositeCurve A horizontal+vertical will have a curve of type IfcGradientCurve A horizontal+vertical+cant will have a curve of tyep IfcSegmentedReferenceCurve

Parameters:

alignment – The alignment

Returns:

The geometric representation of the alignemnt or None if the alignment does not have a representation

Example: