GeometryGym.Ifc.IfcElement.getContainer C# (CSharp) Method

getContainer() private method

private getContainer ( ) : IfcProduct
return IfcProduct
		internal IfcProduct getContainer()
		{
			if (mDecomposes != null)
				return mDecomposes.RelatingObject as IfcProduct;
			return (mContainedInStructure != null ? mContainedInStructure.RelatingStructure : null);
		}
		internal static IfcElement constructElement(string className, IfcObjectDefinition container, IfcObjectPlacement pl, IfcProductRepresentation r) { return constructElement(className, container, pl, r, null); }