예제 #1
0
 protected IfcGeotechnicalStratum(IfcObjectDefinition host, IfcObjectPlacement placement, IfcProductDefinitionShape representation)
     : base(host.Database)
 {
     host.AddNested(this);
     ObjectPlacement = placement;
     Representation  = representation;
 }
예제 #2
0
        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;
        }