|
OGR
|
Public Member Functions | |
| virtual OGRSpatialReference * | GetSourceCS () |
| virtual OGRSpatialReference * | GetTargetCS () |
| virtual int | Transform (int nCount, double *x, double *y, double *z=NULL) |
| virtual int | TransformEx (int nCount, double *x, double *y, double *z=NULL, int *panSuccess=NULL) |
Additional Inherited Members | |
Static Public Member Functions inherited from OGRCoordinateTransformation | |
| static void | DestroyCT (OGRCoordinateTransformation *poCT) |
| OGRCoordinateTransformation destructor. More... | |
|
virtual |
Fetch internal source coordinate system.
Implements OGRCoordinateTransformation.
|
virtual |
Fetch internal target coordinate system.
Implements OGRCoordinateTransformation.
|
virtual |
Transform points from source to destination space.
This method is the same as the C function OCTTransform().
The method TransformEx() allows extended success information to be captured indicating which points failed to transform.
| nCount | number of points to transform. |
| x | array of nCount X vertices, modified in place. |
| y | array of nCount Y vertices, modified in place. |
| z | array of nCount Z vertices, modified in place. |
Implements OGRCoordinateTransformation.
References CPLMalloc(), and TransformEx().
|
virtual |
Transform points from source to destination space.
This method is the same as the C function OCTTransformEx().
| nCount | number of points to transform. |
| x | array of nCount X vertices, modified in place. |
| y | array of nCount Y vertices, modified in place. |
| z | array of nCount Z vertices, modified in place. |
| pabSuccess | array of per-point flags set to TRUE if that point transforms, or FALSE if it does not. |
Implements OGRCoordinateTransformation.
References CPLError(), and CPLRealloc().
Referenced by Transform().
1.8.5.