Example #1
0
 public IfcSite(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcLabel longName, IfcElementCompositionEnum compositionType, IfcCompoundPlaneAngleMeasure refLatitude, IfcCompoundPlaneAngleMeasure refLongitude, IfcLengthMeasure refElevation, IfcLabel landTitleNumber, IfcPostalAddress siteAddress) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, longName, compositionType)
 {
     RefLatitude     = refLatitude;
     RefLongitude    = refLongitude;
     RefElevation    = refElevation;
     LandTitleNumber = landTitleNumber;
     SiteAddress     = siteAddress;
 }
Example #2
0
        /// <summary>
        /// Create an IfcAddress.
        /// </summary>
        /// <param name="description"></param>
        /// <param name="street"></param>
        /// <param name="city"></param>
        /// <param name="poBox"></param>
        /// <param name="state"></param>
        /// <param name="postalCode"></param>
        /// <param name="country"></param>
        /// <returns></returns>
        private IfcPostalAddress AddAddress(string description, string street, string city, string poBox, string state, string postalCode, string country)
        {
            var lines = street != null ? new List <IfcLabel>()
            {
                street
            } : null;
            var address = new IfcPostalAddress(IfcAddressTypeEnum.OFFICE, description, null, null, lines, poBox, city, state, postalCode, country);

            this.AddEntity(address);
            return(address);
        }
Example #3
0
 public IfcBuilding(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcLabel longName, IfcElementCompositionEnum compositionType, IfcLengthMeasure elevationOfRefHeight, IfcLengthMeasure elevationOfTerrain, IfcPostalAddress buildingAddress) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, longName, compositionType)
 {
     ElevationOfRefHeight = elevationOfRefHeight;
     ElevationOfTerrain   = elevationOfTerrain;
     BuildingAddress      = buildingAddress;
 }