IFC 4.3.2.20251031 (IFC4X3_ADD2) under development

8.9.6.24 IfcSegmentDim(段维度)

8.9.6.24.1 语义定义(Semantic definition)

此函数检查 IfcSegment 各种子类型的维度。

返回 ParentCurve 的维度。

8.9.6.24.2 形式化表示(Formal representation)

FUNCTION IfcSegmentDim
 (Segment : IfcSegment)
 : IfcDimensionCount;

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

END_FUNCTION;

8.9.6.24.3 参考文献