Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

OGRCoordinateTransformation Class Reference

#include <ogr_spatialref.h>

Inheritance diagram for OGRCoordinateTransformation:

List of all members.

Public Member Functions

virtual OGRSpatialReferenceGetSourceCS ()=0
virtual OGRSpatialReferenceGetTargetCS ()=0
virtual int Transform (int nCount, double *x, double *y, double *z=NULL)=0

Detailed Description

Object for transforming between coordinate systems.

Also, see OGRCreateSpatialReference() for creating transformations.


Member Function Documentation

virtual OGRSpatialReference* OGRCoordinateTransformation::GetSourceCS  )  [pure virtual]
 

Fetch internal source coordinate system.

virtual OGRSpatialReference* OGRCoordinateTransformation::GetTargetCS  )  [pure virtual]
 

Fetch internal target coordinate system.

virtual int OGRCoordinateTransformation::Transform int  nCount,
double *  x,
double *  y,
double *  z = NULL
[pure virtual]
 

Transform points from source to destination space.

This method is the same as the C function OCTTransform().

Parameters:
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.
Returns:
TRUE on success, or FALSE if some or all points fail to transform.


The documentation for this class was generated from the following file:
Generated on Thu Nov 13 00:06:44 2003 for OGR by doxygen 1.3.4