|
CFx SDK Documentation 2026 SP0
|
#include <IfcSiteAutoImpl.h>
Public Member Functions | |
| void | getRefLatitude (OdArray< int > &RefLatitude) const |
| OdDAI::ListOfInt & | refLatitude () |
| void | getRefLongitude (OdArray< int > &RefLongitude) const |
| OdDAI::ListOfInt & | refLongitude () |
| double | getRefElevation () const |
| void | setRefElevation (double RefElevation) |
| const OdAnsiString & | getLandTitleNumber () const |
| void | setLandTitleNumber (const OdAnsiString &LandTitleNumber) |
| const OdDAIObjectId & | getSiteAddress () const |
| void | setSiteAddress (const OdDAIObjectId &SiteAddress) |
| IfcSite () | |
| virtual OdResult | inFields (OdDAI::OdSpfFilerBase *rdFiler) override |
| virtual OdResult | outFields (OdDAI::OdSpfFilerBase *wrFiler) override |
| virtual OdDAI::Entity * | getInstanceType () const override |
| virtual OdRxValue | getAttr (const char *attrName) const override |
| virtual void | unsetAttr (const char *explicitAttrName) override |
| virtual bool | testAttr (const char *explicitAttrName) const override |
| virtual bool | putAttr (const char *explicitAttrName, const OdRxValue &val) override |
| virtual bool | isKindOf (OdIfc::OdIfcEntityType entityType) const override |
| virtual OdIfc::OdIfcEntityType | type () const override |
| virtual OdRxValue | getAttr (const OdIfc::OdIfcAttribute attrDef) const override |
| virtual void | unsetAttr (const OdIfc::OdIfcAttribute explicitAttrDef) override |
| virtual bool | testAttr (const OdIfc::OdIfcAttribute explicitAttrDef) const override |
| virtual bool | putAttr (const OdIfc::OdIfcAttribute explicitAttrDef, const OdRxValue &val) override |
Public Member Functions inherited from OdIfc2x2_final::IfcSpatialStructureElement | |
| const OdAnsiString & | getLongName () const |
| void | setLongName (const OdAnsiString &LongName) |
| IfcElementCompositionEnum | getCompositionType () const |
| void | setCompositionType (IfcElementCompositionEnum CompositionType) |
| void | getInvServicedBySystems (OdDAIObjectIds &ServicedBySystems) const |
| void | getInvContainsElements (OdDAIObjectIds &ContainsElements) const |
| IfcSpatialStructureElement () | |
Public Member Functions inherited from OdIfc2x2_final::IfcProduct | |
| const OdDAIObjectId & | getObjectPlacement () const |
| void | setObjectPlacement (const OdDAIObjectId &ObjectPlacement) |
| const OdDAIObjectId & | getRepresentation () const |
| void | setRepresentation (const OdDAIObjectId &Representation) |
| void | getInvReferencedBy (OdDAIObjectIds &ReferencedBy) const |
Public Member Functions inherited from OdIfc2x2_final::IfcObject | |
| const OdAnsiString & | getObjectType () const |
| void | setObjectType (const OdAnsiString &ObjectType) |
| void | getInvIsDefinedBy (OdDAIObjectIds &IsDefinedBy) const |
| void | getInvHasAssociations (OdDAIObjectIds &HasAssociations) const |
| void | getInvHasAssignments (OdDAIObjectIds &HasAssignments) const |
| void | getInvDecomposes (OdDAIObjectIds &Decomposes) const |
| void | getInvIsDecomposedBy (OdDAIObjectIds &IsDecomposedBy) const |
| IfcObject () | |
Public Member Functions inherited from OdIfc2x2_final::IfcRoot | |
| OdDAI::CompressedGUID | getGlobalId () const |
| void | setGlobalId (OdDAI::CompressedGUID GlobalId) |
| const OdDAIObjectId & | getOwnerHistory () const |
| void | setOwnerHistory (const OdDAIObjectId &OwnerHistory) |
| const OdAnsiString & | getName () const |
| void | setName (const OdAnsiString &Name) |
| const OdAnsiString & | getDescription () const |
| void | setDescription (const OdAnsiString &Description) |
| IfcRoot () | |
Public Member Functions inherited from OdIfc::OdIfcInstance | |
| ODRX_DECLARE_MEMBERS (OdIfcInstance) | |
| OdIfcInstance () | |
| ~OdIfcInstance () | |
| bool | isInstanceOf (OdIfcEntityType entityType) const |
| IfcOpResult | resolved () |
| void | resolve (IfcOpResult resolved, void *resPtr) |
| void | unresolve () |
| virtual void | setGsNode (OdGsCache *pGsNode) |
| virtual OdGsCache * | gsNode () const |
| virtual OdUInt32 | subSetAttributes (OdGiDrawableTraits *traits) const |
| virtual bool | subWorldDraw (OdGiWorldDraw *wd) const |
| virtual OdDbStub * | ownerId () const |
Protected Attributes | |
| OdDAI::ListOfInt | m_RefLatitude |
| OdDAI::ListOfInt | m_RefLongitude |
| double | m_RefElevation |
| OdAnsiString | m_LandTitleNumber |
| OdDAIObjectId | m_SiteAddress |
Protected Attributes inherited from OdIfc2x2_final::IfcSpatialStructureElement | |
| OdAnsiString | m_LongName |
| OdDAI::Enum | m_CompositionType |
Protected Attributes inherited from OdIfc2x2_final::IfcProduct | |
| OdDAIObjectId | m_ObjectPlacement |
| OdDAIObjectId | m_Representation |
Protected Attributes inherited from OdIfc2x2_final::IfcObject | |
| OdAnsiString | m_ObjectType |
Protected Attributes inherited from OdIfc2x2_final::IfcRoot | |
| OdDAI::CompressedGUID | m_GlobalId |
| OdDAIObjectId | m_OwnerHistory |
| OdAnsiString | m_Name |
| OdAnsiString | m_Description |
Protected Attributes inherited from OdIfc::OdIfcInstance | |
| void * | m_resPtr |
| IfcOpResult | m_resolved |
Additional Inherited Members | |
Static Public Member Functions inherited from OdIfc::OdIfcInstance | |
| static const OdGePoint3d * | asPoint3d (const OdIfcInstance *inst) |
| static const OdGePoint2d * | asPoint2d (const OdIfcInstance *inst) |
| static const OdGeVector3d * | asVector3d (const OdIfcInstance *inst) |
| static const OdGeVector2d * | asVector2d (const OdIfcInstance *inst) |
| static const OdGeMatrix2d * | asMatrix2d (const OdIfcInstance *inst) |
| static const OdGeMatrix3d * | asMatrix3d (const OdIfcInstance *inst) |
| static OdIfcCompoundPtr | asCompound (OdSmartPtr< OdIfcInstance > inst) |
| static const OdCmEntityColor * | asRgbColor (const OdIfcInstance *inst) |
A site is a defined area of land, possibly covered with water, on which the project construction is to be completed. A site can be used to erect, retrofit or turn down building(s), or for other construction related developments.
The geometrical placement of the site, defined by the IfcLocalPlacement, shall be always relative to the spatial structure element, in which this site is included, or absolute, i.e. to the world coordinate system, as established by the geometric representation context of the project. The world coordinate system, established at the IfcProject.RepresentationContexts, can include a definition of the true north within the XY plane of the world coordinate system, if provided, it can be obtained at IfcGeometricRepresentationContext.TrueNorth.
The IfcSite is used to build the spatial structure of a building (that serves as the primary project breakdown and is required to be hierarchical).
The following image shows the heights and elevations of the IfcSite.
<IMAGE ifc_ifcSite_elevation>
Definition at line 61 of file Ifc2x2_Final/IfcSiteAutoImpl.h.
| OdIfc2x2_final::IfcSite::IfcSite | ( | ) |
Default constructor for the IfcSite class.
|
overridevirtual |
Returns an attribute value for the specified attribute name.
| attrName | [in] Name of an attribute to query. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Returns an attribute value for the specified attribute definition.
| attrDef | [in] Attribute definition to query. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Returns a type of a class instance.
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
| const OdAnsiString & OdIfc2x2_final::IfcSite::getLandTitleNumber | ( | ) | const |
Retrieves the land title number that designates of the site within a regional system.
| double OdIfc2x2_final::IfcSite::getRefElevation | ( | ) | const |
Retrieves datum elevation relative to sea level.
Retrieves the World Latitude at reference point.
| RefLatitude | [out] Receives an array of integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. |
Retrieves the World Longitude at reference point.
| RefLongitude | [out] Receives an array of integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. |
| const OdDAIObjectId & OdIfc2x2_final::IfcSite::getSiteAddress | ( | ) | const |
Returns the postal address of the site.
|
overridevirtual |
Reads object's data from the specified filer.
| rdFiler | [in] Pointer to a filer from which to read the data. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Checks whether the specified instance is the object derived from or belongs to this class.
| entityType | [in] Entity to check. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Writes object's data the the specified filer.
| wrFiler | [in] Pointer to a filer to which to write the data. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrName | [in] Explicit name of the attribute to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Sets the specified attribute with a given value.
| explicitAttrDef | [in] Explicit attribute definition to set. |
| val | [in] Value to set. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
| OdDAI::ListOfInt & OdIfc2x2_final::IfcSite::refLatitude | ( | ) |
Returns the World Latitude at reference point.
| OdDAI::ListOfInt & OdIfc2x2_final::IfcSite::refLongitude | ( | ) |
Returns the World Longitude at reference point.
| void OdIfc2x2_final::IfcSite::setLandTitleNumber | ( | const OdAnsiString & | LandTitleNumber | ) |
Sets the land title number that designates of the site within a regional system.
| LandTitleNumber | [in] Land title number. |
| void OdIfc2x2_final::IfcSite::setRefElevation | ( | double | RefElevation | ) |
Sets the datum elevation value relative to sea level.
| RefElevation | [in] Datum elevation relative to sea level. |
| void OdIfc2x2_final::IfcSite::setSiteAddress | ( | const OdDAIObjectId & | SiteAddress | ) |
Sets the postal address of the site.
| PostalAddress | [in] Identifier of the postal address of the site. |
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrName | [in] Explicit name of the attribute to test. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Checks whether the specified attribute is set.
| explicitAttrDef | [in] Attribute definition to test. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Returns the type of this entity.
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrName | [in] Explicit name of the attribute to reset. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
overridevirtual |
Resets a value for the specified attribute.
| explicitAttrDef | [in] Explicit definition that represents an attribute to reset. |
Reimplemented from OdIfc2x2_final::IfcSpatialStructureElement.
|
protected |
Definition at line 268 of file Ifc2x2_Final/IfcSiteAutoImpl.h.
|
protected |
Definition at line 267 of file Ifc2x2_Final/IfcSiteAutoImpl.h.
|
protected |
Definition at line 263 of file Ifc2x2_Final/IfcSiteAutoImpl.h.
|
protected |
Definition at line 265 of file Ifc2x2_Final/IfcSiteAutoImpl.h.
|
protected |
Definition at line 269 of file Ifc2x2_Final/IfcSiteAutoImpl.h.