CFx SDK Documentation
2020SP3
|
#include <OdDbGeoCoordinateSystem.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbGeoCoordinateSystemTransformer) | |
OdDbGeoCoordinateSystemTransformer () | |
virtual | ~OdDbGeoCoordinateSystemTransformer () |
virtual OdResult | getSourceCoordinateSystemId (OdString &sourceCoordSysId) const =0 |
virtual OdResult | getTargetCoordinateSystemId (OdString &targetCoordSysId) const =0 |
virtual OdResult | transformPoint (const OdGePoint3d &pointIn, OdGePoint3d &pointOut) const =0 |
virtual OdResult | transformPoints (const OdGePoint3dArray &pointsIn, OdGePoint3dArray &pointsOut) const =0 |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () 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 |
Static Public Member Functions | |
static OdResult | transformPoint (const OdString &sourceCoordSysId, const OdString &targetCoordSysId, const OdGePoint3d &pointIn, OdGePoint3d &pointOut) |
static OdResult | transformPoints (const OdString &sourceCoordSysId, const OdString &targetCoordSysId, const OdGePoint3dArray &pointsIn, OdGePoint3dArray &pointsOut) |
static OdResult | create (const OdString &sourceCoordSysId, const OdString &targetCoordSysId, OdDbGeoCoordinateSystemTransformerPtr &pCoordSysTransformer) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This abstract class represents a transformer object which is used to transform points from the source CRS to the target CRS.
<group OdDb_Classes>
Definition at line 481 of file OdDbGeoCoordinateSystem.h.
OdDbGeoCoordinateSystemTransformer::OdDbGeoCoordinateSystemTransformer | ( | ) |
Default constructor.
|
virtual |
Virtual destructor.
|
static |
Creates a new OdDbGeoCoordinateSystemTransformer object from the source CRS and target CRS.
sourceCoordSysId | [in] Source CRS's ID. |
targetCoordSysId | [in] Target CRS's ID. |
pCoordSysTransformer | [out] New OdDbGeoCoordinateSystemTransformer object. |
|
pure virtual |
Returns the source CRS's ID.
sourceCoordSysId | [out] Source CRS's ID. |
|
pure virtual |
Returns the target CRS's ID.
targetCoordSysId | [out] Target CRS's ID. |
OdDbGeoCoordinateSystemTransformer::ODRX_DECLARE_MEMBERS | ( | OdDbGeoCoordinateSystemTransformer | ) |
|
pure virtual |
Transforms the point from the source CRS to the target CRS.
pointIn | [in] Point in the source CRS. |
pointOut | [out] Point in the target CRS. |
|
static |
Transforms the point from the source CRS to the target CRS.
sourceCoordSysId | [in] Source CRS's ID. |
targetCoordSysId | [in] Target CRS's ID. |
pointIn | [in] Point in the source CRS. |
pointOut | [out] Point in the target CRS. |
|
pure virtual |
Transforms the array of points from the source CRS to the target CRS.
pointsIn | [in] Point array in the source CRS. |
pointsOut | [out] Point array in the target CRS. |
|
static |
Transforms the array of points from the source CRS to the target CRS.
sourceCoordSysId | [in] Source CRS's ID. |
targetCoordSysId | [in] Target CRS's ID. |
pointsIn | [in] Point array in the source CRS. |
pointsOut | [out] Point array in the target CRS. |