|
CartoType API
|
#include <cartotype_projection.h>
Public Member Functions | |
| CT_IMPORT | TSimpleCoordinateTransform (const TCoordinateTransformParam &aParam) |
| CT_IMPORT TResult | Inverse (const TPoint &aInput, TPoint &aOutput) const |
| CT_IMPORT TResult | ProjectContourTo64ths (MWritableContour &aContour) const |
| CT_IMPORT TCoordinateTransform * | Copy (TResult &aError) const |
| CT_IMPORT const TTransformFP * | FullTransformTo64ths () const |
A simple coordinate transformation class. This class is used for data that has already been projected; for example, eastings and northings in metres in a universal transverse Mercator projection.
| CT_EXPORT TCoordinateTransform * TSimpleCoordinateTransform::Copy | ( | TResult & | aError | ) | const [virtual] |
Create an exact copy of this object.
Implements CartoType::TCoordinateTransform.
| CT_EXPORT const TTransformFP * TSimpleCoordinateTransform::FullTransformTo64ths | ( | ) | const [virtual] |
Return the full transformation to 64ths of units if possible; that is, if this object can be represented as an affine transform. If not, return null.
Reimplemented from CartoType::TCoordinateTransform.
| CT_EXPORT TResult TSimpleCoordinateTransform::Inverse | ( | const TPoint & | aInput, |
| TPoint & | aOutput | ||
| ) | const [virtual] |
Project a point using the inverse transformation.
Implements CartoType::TCoordinateTransform.
| CT_EXPORT TResult TSimpleCoordinateTransform::ProjectContourTo64ths | ( | MWritableContour & | aContour | ) | const [virtual] |
Project all the points in a contour to 64ths of pixels. This base version calls Project on all the points and removes duplicates. Derived classes may save time by using faster methods if possible.
Reimplemented from CartoType::TCoordinateTransform.
1.7.5.1