CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdIfc4::IfcMapConversion Class Reference

#include <IfcMapConversionAutoImpl.h>

Inheritance diagram for OdIfc4::IfcMapConversion:
OdIfc4::IfcCoordinateOperation OdIfc4::OdIfc4Instance OdIfc::OdIfcInstance

Public Member Functions

double getEastings () const
 
void setEastings (double Eastings)
 
double getNorthings () const
 
void setNorthings (double Northings)
 
double getOrthogonalHeight () const
 
void setOrthogonalHeight (double OrthogonalHeight)
 
double getXAxisAbscissa () const
 
void setXAxisAbscissa (double XAxisAbscissa)
 
double getXAxisOrdinate () const
 
void setXAxisOrdinate (double XAxisOrdinate)
 
double getScale () const
 
void setScale (double Scale)
 
 IfcMapConversion ()
 
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 bool comparedToEarlyImpl (const OdDAI::ApplicationInstance *pOther, OdRx::Ordering &ordering) 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 OdIfc4::IfcCoordinateOperation
IfcCoordinateReferenceSystemSelect sourceCRS ()
 
const OdDAIObjectId & getTargetCRS () const
 
void setTargetCRS (const OdDAIObjectId &TargetCRS)
 
 IfcCoordinateOperation ()
 
virtual void setInverseCounterParts () override
 
- Public Member Functions inherited from OdIfc4::OdIfc4Instance
void setInverseCounterParts () override
 
- 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 OdGsCachegsNode () const
 
virtual OdUInt32 subSetAttributes (OdGiDrawableTraits *traits) const
 
virtual bool subWorldDraw (OdGiWorldDraw *wd) const
 
virtual OdDbStub * ownerId () const
 

Protected Attributes

double m_Eastings
 
double m_Northings
 
double m_OrthogonalHeight
 
double m_XAxisAbscissa
 
double m_XAxisOrdinate
 
double m_Scale
 
- Protected Attributes inherited from OdIfc4::IfcCoordinateOperation
OdDAI::Select m_SourceCRS
 
OdDAIObjectId m_TargetCRS
 
- Protected Attributes inherited from OdIfc::OdIfcInstance
voidm_resPtr
 
IfcOpResult m_resolved
 

Additional Inherited Members

- Static Public Member Functions inherited from OdIfc::OdIfcInstance
static const OdGePoint3dasPoint3d (const OdIfcInstance *inst)
 
static const OdGePoint2dasPoint2d (const OdIfcInstance *inst)
 
static const OdGeVector3dasVector3d (const OdIfcInstance *inst)
 
static const OdGeVector2dasVector2d (const OdIfcInstance *inst)
 
static const OdGeMatrix2dasMatrix2d (const OdIfcInstance *inst)
 
static const OdGeMatrix3dasMatrix3d (const OdIfcInstance *inst)
 
static OdIfcCompoundPtr asCompound (OdSmartPtr< OdIfcInstance > inst)
 
static const OdCmEntityColorasRgbColor (const OdIfcInstance *inst)
 

Detailed Description

The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map.

The map conversion allows to convert the local origin of the local engineering coordinate system to its place within a map (easting, northing, orthogonal height) and to rotate the x-axis of the local engineering coordinate system within the horizontal (easting/westing) plane of the map.

The scale factor can be used when the length unit for the 3 axes of the map coordinate system are not identical with the length unit established for this project (see IfcProject.UnitsInContext). If omitted, the scale factor 1.0 is assumed.

\changes

IFC4 changes: The assignment of curve, surface and other styles to an IfcStyledItem has been simplified by IfcStyleAssignmentSelect. The use of intermediate IfcPresentationStyleAssignment is deprecated.

Definition at line 53 of file Ifc4/IfcMapConversionAutoImpl.h.

Constructor & Destructor Documentation

◆ IfcMapConversion()

OdIfc4::IfcMapConversion::IfcMapConversion ( )

Default constructor for the IfcMapConversion class.

Member Function Documentation

◆ comparedToEarlyImpl()

virtual bool OdIfc4::IfcMapConversion::comparedToEarlyImpl ( const OdDAI::ApplicationInstance * pOther,
OdRx::Ordering & ordering ) const
overridevirtual

Early-bound version of instances comparison.

Parameters
pOther[in] Other application instance.
ordering[out] Receives the ordering (comparison) status.
Returns
true if comparison was performed, false if method has no implementation, so late-bound version could be applied.
Remarks
If the method returns true, the ordering parameter can receive one of the following statuses:
Value Description kLessThan -1 This object < Other Object. kEqual 0 This object = Other Object. kGreaterThan 1 This object > Other Object. kNotOrderable 2 This class is not orderable.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ getAttr() [1/2]

virtual OdRxValue OdIfc4::IfcMapConversion::getAttr ( const char * attrName) const
overridevirtual

Returns an attribute value for the specified attribute name.

Parameters
attrName[in] Name of an attribute to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ getAttr() [2/2]

virtual OdRxValue OdIfc4::IfcMapConversion::getAttr ( const OdIfc::OdIfcAttribute attrDef) const
overridevirtual

Returns an attribute value for the specified attribute definition.

Parameters
attrDef[in] Attribute definition to query.
Returns
OdRxValue object that represents a generic variant type value.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ getEastings()

double OdIfc4::IfcMapConversion::getEastings ( ) const

Returns the value of Eastings attribute. This attribute represents the location along the easting of the coordinate system of the target map coordinate reference system.

Returns
Returns the value of Eastings attribute.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the x axis.

◆ getInstanceType()

virtual OdDAI::Entity * OdIfc4::IfcMapConversion::getInstanceType ( ) const
overridevirtual

Returns a type of a class instance.

Returns
Pointer to the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdDAI__Entity.html>>OdDAI::Entity</exref> type that determines an entity definition within a schema.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ getNorthings()

double OdIfc4::IfcMapConversion::getNorthings ( ) const

Returns the value of Northings attribute. This attribute represents the location along the northing of the coordinate system of the target map coordinate reference system.

Returns
Returns the value of Northings attribute.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the y axis.

◆ getOrthogonalHeight()

double OdIfc4::IfcMapConversion::getOrthogonalHeight ( ) const

Returns the value of OrthogonalHeight attribute. This attribute represents orthogonal height relative to the vertical datum specified.

Returns
Returns the value of OrthogonalHeight attribute.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the z axis.

◆ getScale()

double OdIfc4::IfcMapConversion::getScale ( ) const

Returns the value of Scale attribute. This attribute represents scale that is used, when the units of the CRS are not identical to the units of the engineering coordinate system. If omitted, the value of 1.0 is assumed.

Returns
Returns the value of Scale attribute.

◆ getXAxisAbscissa()

double OdIfc4::IfcMapConversion::getXAxisAbscissa ( ) const

Returns the value of XAxisAbscissa attribute. This attribute represents the value along the easing axis of the end point of a vector indicating the position of the local x axis of the engineering coordinate reference system.

Returns
Returns the value of XAxisAbscissa attribute.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the x axis. Together with the XAxisOrdinate it provides the direction of the local x axis within the horizontal plane of the map coordinate system.

◆ getXAxisOrdinate()

double OdIfc4::IfcMapConversion::getXAxisOrdinate ( ) const

Returns the value of XAxisOrdinate attribute. This attribute represents the value along the northing axis of the end point of a vector indicating the position of the local x axis of the engineering coordinate reference system.

Returns
Returns the value of XAxisOrdinate attribute.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the y axis.

◆ inFields()

virtual OdResult OdIfc4::IfcMapConversion::inFields ( OdDAI::OdSpfFilerBase * rdFiler)
overridevirtual

Reads object's data from the specified filer.

Parameters
rdFiler[in] Pointer to a filer from which to read the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ isKindOf()

virtual bool OdIfc4::IfcMapConversion::isKindOf ( OdIfc::OdIfcEntityType entityType) const
overridevirtual

Checks whether the specified instance is the object derived from or belongs to this class.

Parameters
entityType[in] Entity to check.
Returns
true if the specified instance is the object derived from or belongs to this class, false otherwise.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ outFields()

virtual OdResult OdIfc4::IfcMapConversion::outFields ( OdDAI::OdSpfFilerBase * wrFiler)
overridevirtual

Writes object's data the the specified filer.

Parameters
wrFiler[in] Pointer to a filer to which to write the data.
Returns
A value of OdResult type that contains the result of the method execution.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ putAttr() [1/2]

virtual bool OdIfc4::IfcMapConversion::putAttr ( const char * explicitAttrName,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrName[in] Explicit name of the attribute to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ putAttr() [2/2]

virtual bool OdIfc4::IfcMapConversion::putAttr ( const OdIfc::OdIfcAttribute explicitAttrDef,
const OdRxValue & val )
overridevirtual

Sets the specified attribute with a given value.

Parameters
explicitAttrDef[in] Explicit attribute definition to set.
val[in] Value to set.
Returns
true if the value is successfully set for the specified attribute, false otherwise.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ setEastings()

void OdIfc4::IfcMapConversion::setEastings ( double Eastings)

Sets the value of Eastings attribute. This attribute represents the location along the easting of the coordinate system of the target map coordinate reference system.

Parameters
Eastings[in] Eastings attribute to set.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the x axis.

◆ setNorthings()

void OdIfc4::IfcMapConversion::setNorthings ( double Northings)

Sets the value of Northings attribute. This attribute represents the location along the northing of the coordinate system of the target map coordinate reference system.

Parameters
Northings[in] Northings attribute to set.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the y axis.

◆ setOrthogonalHeight()

void OdIfc4::IfcMapConversion::setOrthogonalHeight ( double OrthogonalHeight)

Sets the value of OrthogonalHeight attribute. This attribute represents orthogonal height relative to the vertical datum specified.

Parameters
OrthogonalHeight[in] Orthogonal height to set.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the z axis.

◆ setScale()

void OdIfc4::IfcMapConversion::setScale ( double Scale)

Sets the value of Scale attribute. This attribute represents scale that is used, when the units of the CRS are not identical to the units of the engineering coordinate system. If omitted, the value of 1.0 is assumed.

Parameters
Scale[in] Scale to set.

◆ setXAxisAbscissa()

void OdIfc4::IfcMapConversion::setXAxisAbscissa ( double XAxisAbscissa)

Sets the value of XAxisAbscissa attribute. This attribute represents the value along the easing axis of the end point of a vector indicating the position of the local x axis of the engineering coordinate reference system.

Parameters
XAxisAbscissa[in] X axis abscissa to set.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the x axis. Together with the XAxisOrdinate it provides the direction of the local x axis within the horizontal plane of the map coordinate system.

◆ setXAxisOrdinate()

void OdIfc4::IfcMapConversion::setXAxisOrdinate ( double XAxisOrdinate)

Sets the value of XAxisOrdinate attribute. This attribute represents the value along the northing axis of the end point of a vector indicating the position of the local x axis of the engineering coordinate reference system.

Parameters
XAxisOrdinate[in] X axis ordinate to set.
Remarks
For right-handed Cartesian coordinate systems this would establish the location along the y axis.

◆ testAttr() [1/2]

virtual bool OdIfc4::IfcMapConversion::testAttr ( const char * explicitAttrName) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrName[in] Explicit name of the attribute to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ testAttr() [2/2]

virtual bool OdIfc4::IfcMapConversion::testAttr ( const OdIfc::OdIfcAttribute explicitAttrDef) const
overridevirtual

Checks whether the specified attribute is set.

Parameters
explicitAttrDef[in] Attribute definition to test.
Returns
true if the specified attribute is set, false otherwise.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ type()

virtual OdIfc::OdIfcEntityType OdIfc4::IfcMapConversion::type ( ) const
overridevirtual

Returns the type of this entity.

Returns
A value of the <exref target=https://docs.opendesign.com/tkernel_api_cpp/OdIfc__OdIfcEntityType.html>>OdIfc::OdIfcEntityType</exref> type that represents type of this entity.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ unsetAttr() [1/2]

virtual void OdIfc4::IfcMapConversion::unsetAttr ( const char * explicitAttrName)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrName[in] Explicit name of the attribute to reset.

Reimplemented from OdIfc4::IfcCoordinateOperation.

◆ unsetAttr() [2/2]

virtual void OdIfc4::IfcMapConversion::unsetAttr ( const OdIfc::OdIfcAttribute explicitAttrDef)
overridevirtual

Resets a value for the specified attribute.

Parameters
explicitAttrDef[in] Explicit definition that represents an attribute to reset.

Reimplemented from OdIfc4::IfcCoordinateOperation.

Member Data Documentation

◆ m_Eastings

double OdIfc4::IfcMapConversion::m_Eastings
protected

Definition at line 314 of file Ifc4/IfcMapConversionAutoImpl.h.

◆ m_Northings

double OdIfc4::IfcMapConversion::m_Northings
protected

Definition at line 315 of file Ifc4/IfcMapConversionAutoImpl.h.

◆ m_OrthogonalHeight

double OdIfc4::IfcMapConversion::m_OrthogonalHeight
protected

Definition at line 316 of file Ifc4/IfcMapConversionAutoImpl.h.

◆ m_Scale

double OdIfc4::IfcMapConversion::m_Scale
protected

Definition at line 319 of file Ifc4/IfcMapConversionAutoImpl.h.

◆ m_XAxisAbscissa

double OdIfc4::IfcMapConversion::m_XAxisAbscissa
protected

Definition at line 317 of file Ifc4/IfcMapConversionAutoImpl.h.

◆ m_XAxisOrdinate

double OdIfc4::IfcMapConversion::m_XAxisOrdinate
protected

Definition at line 318 of file Ifc4/IfcMapConversionAutoImpl.h.


The documentation for this class was generated from the following file: