IFC 4.3.2.20251031 (IFC4X3_ADD2) under development

8.10.6.1 IfcMlsTotalThickness(材料层集总厚度)

8.10.6.1.1 语义定义(Semantic definition)

函数语义定义

计算材料层集的总厚度。

8.10.6.1.2 形式化表示(Formal representation)

FUNCTION IfcMlsTotalThickness
(LayerSet : IfcMaterialLayerSet) : IfcLengthMeasure;
  LOCAL
    Max : IfcLengthMeasure := LayerSet.MaterialLayers[1].LayerThickness;    
  END_LOCAL;

  IF SIZEOF(LayerSet.MaterialLayers) > 1 THEN
    REPEAT i := 2 TO HIINDEX(LayerSet.MaterialLayers);
       Max := Max + LayerSet.MaterialLayers[i].LayerThickness;
    END_REPEAT;
  END_IF;
  RETURN (Max);

END_FUNCTION;

8.10.6.1.3 参考文献