CartoType API
Public Member Functions
CartoType::TSimpleCoordinateTransform Class Reference

#include <cartotype_projection.h>

Inheritance diagram for CartoType::TSimpleCoordinateTransform:
CartoType::TProjectionUsingFloatingPoint CartoType::TCoordinateTransform

List of all members.

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 TCoordinateTransformCopy (TResult &aError) const
CT_IMPORT const TTransformFPFullTransformTo64ths () const

Detailed Description

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.


Member Function Documentation

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.


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