IFC 4.3.1.0 (IFC4X3_ADD1) development

8.9.6.24 IfcSegmentDim

8.9.6.24.1 Semantic definition

This function checks the dimensionality of the various subtypes of IfcSegment.

Returns the dimensionality of the ParentCurve.

8.9.6.24.2 Formal representation

FUNCTION IfcSegmentDim
 (Segment : IfcSegment)
 : IfcDimensionCount;

  IF ('IFC4X3_DEV_9f90c1f0.IFCCURVESEGMENT' IN TYPEOF(Segment))
    THEN RETURN(Segment\IfcCurveSegment.ParentCurve.Dim);
  END_IF;
  IF ('IFC4X3_DEV_9f90c1f0.IFCCOMPOSITECURVESEGMENT' IN TYPEOF(Segment))
    THEN RETURN(Segment\IfcCompositeCurveSegment.ParentCurve.Dim);
  END_IF;
  RETURN (?);

END_FUNCTION;

8.9.6.24.3 References

Edit on Github


Is this page difficult to understand? Let us know!

8.9.6.24.4 Changelog

8.9.6.24.4.1 IFC4.3_DEV_9f90c1f0

  • New resource