OGR
Classes | Public Member Functions | List of all members
OGRProjCT Class Reference
Inheritance diagram for OGRProjCT:
OGRCoordinateTransformation

Public Member Functions

int Initialize (const OGRSpatialReference *poSource, const OGRSpatialReference *poTarget, const OGRCoordinateTransformationOptions &options)
 
OGRSpatialReferenceGetSourceCS () override
 
OGRSpatialReferenceGetTargetCS () override
 
int Transform (int nCount, double *x, double *y, double *z, double *t, int *panSuccess) override
 
bool GetEmitErrors () const override
 
void SetEmitErrors (bool bEmitErrors) override
 
- Public Member Functions inherited from OGRCoordinateTransformation
int Transform (int nCount, double *x, double *y, double *z=nullptr, int *pabSuccess=nullptr)
 

Additional Inherited Members

- Static Public Member Functions inherited from OGRCoordinateTransformation
static void DestroyCT (OGRCoordinateTransformation *poCT)
 OGRCoordinateTransformation destructor. More...
 
static OGRCoordinateTransformationH ToHandle (OGRCoordinateTransformation *poCT)
 
static OGRCoordinateTransformationFromHandle (OGRCoordinateTransformationH hCT)
 

Member Function Documentation

◆ GetEmitErrors()

bool OGRProjCT::GetEmitErrors ( ) const
inlineoverridevirtual

Whether the transformer will emit CPLError

Reimplemented from OGRCoordinateTransformation.

◆ GetSourceCS()

OGRSpatialReference * OGRProjCT::GetSourceCS ( )
overridevirtual

Fetch internal source coordinate system.

Implements OGRCoordinateTransformation.

◆ GetTargetCS()

OGRSpatialReference * OGRProjCT::GetTargetCS ( )
overridevirtual

Fetch internal target coordinate system.

Implements OGRCoordinateTransformation.

◆ Initialize()

int OGRProjCT::Initialize ( const OGRSpatialReference poSource,
const OGRSpatialReference poTarget,
const OGRCoordinateTransformationOptions options 
)

◆ SetEmitErrors()

void OGRProjCT::SetEmitErrors ( bool  )
inlineoverridevirtual

Set if the transformer must emit CPLError

Reimplemented from OGRCoordinateTransformation.

◆ Transform()

int OGRProjCT::Transform ( int  nCount,
double *  x,
double *  y,
double *  z,
double *  t,
int *  pabSuccess 
)
overridevirtual

Transform points from source to destination space.

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

Parameters
nCountnumber of points to transform.
xarray of nCount X vertices, modified in place. Should not be NULL.
yarray of nCount Y vertices, modified in place. Should not be NULL.
zarray of nCount Z vertices, modified in place. Might be NULL.
tarray of nCount time values, modified in place. Might be NULL.
pabSuccessarray of per-point flags set to TRUE if that point transforms, or FALSE if it does not. Might be NULL.
Returns
TRUE if some or all points transform successfully, or FALSE if if none transform.

Implements OGRCoordinateTransformation.

References CPLDebug(), CPLError(), CPLGetConfigOption(), CPLTestBool(), OGRSpatialReference::GetAxis(), OGRSpatialReference::GetDataAxisToSRSAxisMapping(), M_PI, and OAO_East.


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

Generated for GDAL by doxygen 1.8.20.