This function checks the dimensionality of the various subtypes of IfcSegment.
Returns the dimensionality of the ParentCurve.
HISTORY New function in IFC4.3.0.1
FUNCTION IfcSegmentDim (Segment : IfcSegment) : IfcDimensionCount; IF ('IFCGEOMETRYRESOURCE.IfcCurveSegment' IN TYPEOF(Segment)) THEN RETURN(Segment\IfcCurveSegment.ParentCurve.Dim); END_IF; IF ('IFCGEOMETRYRESOURCE.IfcCompositeCurveSegment' IN TYPEOF(Segment)) THEN RETURN(Segment\IfcCompositeCurveSegment.ParentCurve.Dim); END_IF; RETURN (?); END_FUNCTION;
Link to this page