internal XbimSlab(XbimDocument document, XbimSlabType xbimSlabType) : base(document) { BaseInit(xbimSlabType); _ifcBuildingElement.SetMaterialLayerSetUsage(xbimSlabType.IfcMaterialLayerSet, IfcLayerSetDirectionEnum.AXIS1, IfcDirectionSenseEnum.POSITIVE, 0); }
internal XbimSlab(XbimDocument document, XbimSlabType xbimSlabType, XbimLayerSetDirectionEnum MaterialLayersDirection, XbimDirectionSenseEnum MaterialLayersDirectionSense, float MaterialLayersOffsett) : base(document) { BaseInit(xbimSlabType); SetMaterialLayerSetUsage(MaterialLayersDirection, MaterialLayersDirectionSense, MaterialLayersOffsett); }
private void BaseInit(XbimSlabType xbimSlabType) { _document.Slabs.Add(this); _ifcBuildingElement = _document.Model.Instances.New<IfcSlab>(); _ifcBuildingElement.SetDefiningType(xbimSlabType.IfcTypeProduct, _document.Model); }