protected IfcGeotechnicalStratum(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductDefinitionShape representation) : base(host.Database) { host.AddNested(this); ObjectPlacement = placement; Representation = representation; }
public IfcGeotechnicalStratum(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductDefinitionShape representation) : base(host.Database) { IfcSpatialElement spatialElement = host as IfcSpatialElement; if (spatialElement != null) { spatialElement.AddElement(this); } else { host.AddNested(this); } ObjectPlacement = placement; Representation = representation; }