CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdDbGeoDataPE Class Referenceabstract

#include <DbGeoDataPE.h>

Inheritance diagram for OdDbGeoDataPE:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbGeoDataPE)
 
virtual ~OdDbGeoDataPE ()
 
virtual OdResult transformFromLonLatAlt (const OdDbGeoData *pGeoData, const double &dLongitude, const double &dLatitude, const double &dAltitude, double &dDwgX, double &dDwgY, double &dDwgZ)=0
 
virtual OdResult transformToLonLatAlt (const OdDbGeoData *pGeoData, const double &dDwgX, const double &dDwgY, const double &dDwgZ, double &dLongitude, double &dLatitude, double &dAltitude)=0
 
virtual bool validateCs (const OdString &sCoordinateSystem)=0
 
virtual OdResult parseCsName (const OdDbGeoData *pGeoData, const OdString &inputName, OdString &resultXml)=0
 
virtual OdResult geoCoordinateSystemWillChange (OdDbGeoData *pGeoData, const OdString &sNewCsId)=0
 
virtual OdResult geoCoordinateSystemChanged (OdDbGeoData *pGeoData, const OdString &sOldCsId)=0
 
virtual OdResult geoCoordinateSystemWillChange (OdDbGeoData *pGeoData, const OdString &sNewCsId, const OdString &)
 
virtual OdResult geoCoordinateSystemChanged (OdDbGeoData *pGeoData, const OdString &sOldCsId, const OdString &)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 

Detailed Description

An abstract class that represents a protocol extension for an OdDbGeoData object.

<group OdDb_Classes>

Definition at line 38 of file DbGeoDataPE.h.

Constructor & Destructor Documentation

◆ ~OdDbGeoDataPE()

virtual OdDbGeoDataPE::~OdDbGeoDataPE ( )
inlinevirtual

Virtual destructor.

Definition at line 46 of file DbGeoDataPE.h.

Member Function Documentation

◆ geoCoordinateSystemChanged() [1/2]

virtual OdResult OdDbGeoDataPE::geoCoordinateSystemChanged ( OdDbGeoData * pGeoData,
const OdString & sOldCsId )
pure virtual

This method is called when the coordinate system is changed.

Parameters
pGeoData[in/out] Pointer to an OdDbGeoData object.
sOldCsId[in] Previous coordinate system name.
Returns
Returns eOK if successful, or an appropriate error code if not.

◆ geoCoordinateSystemChanged() [2/2]

virtual OdResult OdDbGeoDataPE::geoCoordinateSystemChanged ( OdDbGeoData * pGeoData,
const OdString & sOldCsId,
const OdString &  )
inlinevirtual

This method is called when the coordinate system is changed.

Parameters
pGeoData[in/out] Pointer to an OdDbGeoData object.
sOldCsId[in] Previous coordinate system name.
sOldVcsId[in] Previous vertical coordinate system name.
Returns
Returns eOK if successful, or an appropriate error code if not.

Definition at line 142 of file DbGeoDataPE.h.

◆ geoCoordinateSystemWillChange() [1/2]

virtual OdResult OdDbGeoDataPE::geoCoordinateSystemWillChange ( OdDbGeoData * pGeoData,
const OdString & sNewCsId )
pure virtual

This method is called when the coordinate system will be changed.

Parameters
pGeoData[in/out] Pointer to an OdDbGeoData object.
sNewCsId[in] Future coordinate system name.
Returns
Returns eOK if successful, or an appropriate error code if not.

◆ geoCoordinateSystemWillChange() [2/2]

virtual OdResult OdDbGeoDataPE::geoCoordinateSystemWillChange ( OdDbGeoData * pGeoData,
const OdString & sNewCsId,
const OdString &  )
inlinevirtual

This method is called when the coordinate system will be changed.

Parameters
pGeoData[in/out] Pointer to an OdDbGeoData object.
sNewCsId[in] Future coordinate system name.
sNewVcsId[in] Future vertical coordinate system name.
Returns
Returns eOK if successful, or an appropriate error code if not.

Definition at line 128 of file DbGeoDataPE.h.

◆ ODRX_DECLARE_MEMBERS()

OdDbGeoDataPE::ODRX_DECLARE_MEMBERS ( OdDbGeoDataPE )

◆ parseCsName()

virtual OdResult OdDbGeoDataPE::parseCsName ( const OdDbGeoData * pGeoData,
const OdString & inputName,
OdString & resultXml )
pure virtual

Returns xml representation of the coordinate system.

Parameters
pGeoData[in] Pointer to an OdDbGeoData object.
inputName[in] Coordinate system name.
resultXml[out] Xml representation of the coordinate system.
Returns
Returns eOK if successful, or an appropriate error code if not.

◆ transformFromLonLatAlt()

virtual OdResult OdDbGeoDataPE::transformFromLonLatAlt ( const OdDbGeoData * pGeoData,
const double & dLongitude,
const double & dLatitude,
const double & dAltitude,
double & dDwgX,
double & dDwgY,
double & dDwgZ )
pure virtual

Transforms the geographic point into an equivalent design point.

Parameters
pGeoData[in] Pointer to an OdDbGeoData object.
dLongitude[in] Longitude ordinate of the point to be transformed.
dLatitude[in] Latitude ordinate of the point to be transformed.
dAltitude[in] Altitude ordinate of the point to be transformed.
dDwgX[out] X ordinate of the transformed point.
dDwgY[out] Y ordinate of the transformed point.
dDwgZ[out] Z ordinate of the transformed point.
Returns
Returns eOK if successful, or an appropriate error code if not.

◆ transformToLonLatAlt()

virtual OdResult OdDbGeoDataPE::transformToLonLatAlt ( const OdDbGeoData * pGeoData,
const double & dDwgX,
const double & dDwgY,
const double & dDwgZ,
double & dLongitude,
double & dLatitude,
double & dAltitude )
pure virtual

Transforms the design point into an equivalent geographic point.

Parameters
pGeoData[in] Pointer to an OdDbGeoData object.
dDwgX[in] X ordinate of the design point.
dDwgY[in] Y ordinate of the design point.
dDwgZ[in] Z ordinate of the design point.
dLongitude[out] Longitude ordinate of the transformed point.
dLatitude[out] Latitude ordinate of the transformed point.
dAltitude[out] Altitude (elevation) ordinate of the transformed point.
Returns
Returns eOK if successful, or an appropriate error code if not.

◆ validateCs()

virtual bool OdDbGeoDataPE::validateCs ( const OdString & sCoordinateSystem)
pure virtual

This method is used for user validation.

Parameters
sCoordinateSystem[in] Coordinate system name.
Returns
Returns true if validation passed successfully, or false if not.

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