IfcSegmentDim

Natural language names
Semantic definitions at the function
Function Definition

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

Formal representations
EXPRESS Specification

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  Link to this page