OGR
|
Public Member Functions | |
int | Initialize (const OGRSpatialReference *poSource, const OGRSpatialReference *poTarget, const OGRCoordinateTransformationOptions &options) |
OGRSpatialReference * | GetSourceCS () override |
OGRSpatialReference * | GetTargetCS () 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 |
![]() | |
int | Transform (int nCount, double *x, double *y, double *z=nullptr, int *pabSuccess=nullptr) |
Additional Inherited Members | |
![]() | |
static void | DestroyCT (OGRCoordinateTransformation *poCT) |
OGRCoordinateTransformation destructor. More... | |
static OGRCoordinateTransformationH | ToHandle (OGRCoordinateTransformation *poCT) |
static OGRCoordinateTransformation * | FromHandle (OGRCoordinateTransformationH hCT) |
|
inlineoverridevirtual |
Whether the transformer will emit CPLError
Reimplemented from OGRCoordinateTransformation.
|
overridevirtual |
Fetch internal source coordinate system.
Implements OGRCoordinateTransformation.
|
overridevirtual |
Fetch internal target coordinate system.
Implements OGRCoordinateTransformation.
int OGRProjCT::Initialize | ( | const OGRSpatialReference * | poSource, |
const OGRSpatialReference * | poTarget, | ||
const OGRCoordinateTransformationOptions & | options | ||
) |
< Success
< Success
References OGRSpatialReference::Clone(), CPLGetConfigOption(), CPLTestBool(), OAMS_TRADITIONAL_GIS_ORDER, and OGRSpatialReference::SetAxisMappingStrategy().
Referenced by OGRCreateCoordinateTransformation().
|
inlineoverridevirtual |
Set if the transformer must emit CPLError
Reimplemented from OGRCoordinateTransformation.
|
overridevirtual |
Transform points from source to destination space.
This method is the same as the C function OCTTransform4D().
nCount | number of points to transform. |
x | array of nCount X vertices, modified in place. Should not be NULL. |
y | array of nCount Y vertices, modified in place. Should not be NULL. |
z | array of nCount Z vertices, modified in place. Might be NULL. |
t | array of nCount time values, modified in place. Might be NULL. |
pabSuccess | array of per-point flags set to TRUE if that point transforms, or FALSE if it does not. Might be NULL. |
Implements OGRCoordinateTransformation.
References CPLDebug(), CPLError(), CPLGetConfigOption(), CPLTestBool(), OGRSpatialReference::GetAxis(), OGRSpatialReference::GetDataAxisToSRSAxisMapping(), M_PI, and OAO_East.