#include <mi32/coordop.h>
Inheritance diagram for SPATREF::COORDOP:

Public Member Functions | |
| ERRVALUE | ConvertForward (const DPOINT3DH *ipoints, DPOINT3DH *opoints, INT32 NumPoints) const |
| ERRVALUE | ConvertForward (const DPOINT3D *ipoints, DPOINT3D *opoints, INT32 NumPoints) const |
| ERRVALUE | ConvertForward (const DPOINT2D *ipoints, DPOINT2D *opoints, INT32 NumPoints) const |
| ERRVALUE | ConvertForward (const DPOINT3DH &ipoint, DPOINT3DH &opoint) const |
| ERRVALUE | ConvertForward (const DPOINT3D &ipoint, DPOINT3D &opoint) const |
| ERRVALUE | ConvertForward (const DPOINT2D &ipoint, DPOINT2D &opoint) const |
| ERRVALUE | ConvertForwardDense (INT32 NumPoints, int NumDim, const double *ipoint, double tolerance, COORDOP_TARGET &target) const |
| ERRVALUE | ConvertReverse (const DPOINT3DH *ipoints, DPOINT3DH *opoints, INT32 NumPoints) const |
| ERRVALUE | ConvertReverse (const DPOINT3D *ipoints, DPOINT3D *opoints, INT32 NumPoints) const |
| ERRVALUE | ConvertReverse (const DPOINT2D *ipoints, DPOINT2D *opoints, INT32 NumPoints) const |
| ERRVALUE | ConvertReverse (const DPOINT3DH &ipoint, DPOINT3DH &opoint) const |
| ERRVALUE | ConvertReverse (const DPOINT3D &ipoint, DPOINT3D &opoint) const |
| ERRVALUE | ConvertReverse (const DPOINT2D &ipoint, DPOINT2D &opoint) const |
| ERRVALUE | ConvertReverseDense (INT32 NumPoints, int NumDim, const double *ipoint, double tolerance, COORDOP_TARGET &target) const |
| COORDOP (const COORDOP &rhs) | |
| const COORDOP_IMPL::LINEAR & | GetLinear () const |
| int | GetLinearApproximation (COORDOP &CoordOp, COORDOP_DIRECTION direction, const REGION2D ®ion, double tolerance) const |
| const COORDREFSYS & | GetSourceCRS () const |
| const COORDREFSYS & | GetTargetCRS () const |
| bool | HasForward () const |
| bool | HasReverse () const |
| bool | IsBidirectional () const |
| bool | IsIdentity () const |
| bool | IsLinear () const |
| bool | IsList () const |
| COORDOP & | operator= (const COORDOP &rhs) |
| void | ReverseDirection () |
| ~COORDOP () | |
Coordinate operatiosn instances are reference-counted so that assignment and list manipulation is efficient and requires no additional memory allocation.
Definition at line 645 of file coordop.h.
| SPATREF::COORDOP::COORDOP | ( | const COORDOP & | rhs | ) |
Copy constructor.
| SPATREF::COORDOP::~COORDOP | ( | ) |
Destructor.
| ERRVALUE SPATREF::COORDOP::ConvertForwardDense | ( | INT32 | NumPoints, | |
| int | NumDim, | |||
| const double * | ipoint, | |||
| double | tolerance, | |||
| COORDOP_TARGET & | target | |||
| ) | const [inline] |
Perform forward operation with possible densification.
| NumPoints | Number of points |
| NumDim | Number of dimensions (usually 2, 3 or 4 (indicates homogeneous)) |
| ipoint | Input point array of specified dimension |
| tolerance | Densification tolerance in target coordinates |
| target | Target for converted points |
| ERRVALUE SPATREF::COORDOP::ConvertReverseDense | ( | INT32 | NumPoints, | |
| int | NumDim, | |||
| const double * | ipoint, | |||
| double | tolerance, | |||
| COORDOP_TARGET & | target | |||
| ) | const [inline] |
Perform reverse operation with possible densification.
| NumPoints | Number of points |
| NumDim | Number of dimensions (usually 2, 3 or 4 (indicates homogeneous)) |
| ipoint | Input point array of specified dimension |
| tolerance | Densification tolerance in target coordinates |
| target | Target for converted points |
| const COORDOP_IMPL::LINEAR& SPATREF::COORDOP::GetLinear | ( | ) | const [inline] |
Get linear implementation instance for subsequent fast inline conversion.
Note: If IsLinear() returns false then the returned LINEAR operation will not be valid.
| int SPATREF::COORDOP::GetLinearApproximation | ( | COORDOP & | CoordOp, | |
| COORDOP_DIRECTION | direction, | |||
| const REGION2D & | region, | |||
| double | tolerance | |||
| ) | const |
Attempt to get linear approximation to operation within specified tolerance.
Regardless of direction specified, any returned LINEAR operation will have the same direction as the operation instance itself.
| CoordOp | Coordinate operation returned |
| direction | Direction in which to perform approximation |
| region | Region in 'input' CRS based on specified direction |
| tolerance | Tolerance in 'output' CRS based on specified direction |
| const COORDREFSYS& SPATREF::COORDOP::GetSourceCRS | ( | ) | const [inline] |
| const COORDREFSYS& SPATREF::COORDOP::GetTargetCRS | ( | ) | const [inline] |
| bool SPATREF::COORDOP::HasForward | ( | ) | const [inline] |
| bool SPATREF::COORDOP::HasReverse | ( | ) | const [inline] |
| bool SPATREF::COORDOP::IsBidirectional | ( | ) | const [inline] |
| bool SPATREF::COORDOP::IsLinear | ( | ) | const [inline] |
| bool SPATREF::COORDOP::IsList | ( | ) | const [inline] |
| void SPATREF::COORDOP::ReverseDirection | ( | ) |
Reverse direction of operation.
1.5.2