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;