IFC 4.3.2.20240904 (IFC4X3_ADD2) under 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_c85b862.IFCCURVESEGMENT' IN TYPEOF(Segment))
    THEN RETURN(Segment\IfcCurveSegment.ParentCurve.Dim);
  END_IF;
  IF ('IFC4X3_DEV_c85b862.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_c85b862

  • New resource