8.10.6.1 IfcMlsTotalThickness
8.10.6.1.1 Semantic definition
Function Semantic Definition Calculates the total thickness of a material layer set.
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;