void IBimSpatialStructureElement.AddBoundingElementToSpace(IBimSpatialStructureElement space, IBimBuildingElement element, XbimPhysicalOrVirtualEnum type, XbimInternalOrExternalEnum external) { XbimSpace xSpace = space as XbimSpace; XbimBuildingElement xElement = element as XbimBuildingElement; if (xSpace == null || xElement == null) throw new ArgumentException(); xSpace.AddBoundingElement(xElement, type, external); }
void IBimBuildingElement.AddDecomposingElement(IBimBuildingElement element) { XbimBuildingElement el = element as XbimBuildingElement; if (el != null) AddDecomposingElement(el); }
void IBimSpatialStructureElement.AddContainedBuildingElement(IBimBuildingElement element) { XbimBuildingElement elem = element as XbimBuildingElement; if (elem == null) throw new ArgumentException(); AddContainedBuildingElement(elem); }