CartoType API
Public Member Functions | Protected Member Functions
CartoType::TOrdnanceSurveyProjection Class Reference

#include <cartotype_mercator.h>

Inheritance diagram for CartoType::TOrdnanceSurveyProjection:
CartoType::TProjectionUsingFloatingPoint CartoType::TCoordinateTransform

List of all members.

Public Member Functions

CT_IMPORT TOrdnanceSurveyProjection (const TCoordinateTransformParam &aParam)
CT_IMPORT TResult Inverse (const TPoint &aInput, TPoint &aOutput) const
CT_IMPORT TResult Read (TDataInputStream &aInput)
CT_IMPORT TCoordinateTransformCopy (TResult &aError) const
CT_IMPORT TResult Inverse (const TPointFP &aInput, TPointFP &aOutput) const

Protected Member Functions

CT_IMPORT void ProjectHelper (const TPoint &aInput, double &aX, double &aY) const

Detailed Description

The Ordnance Survey projection. This is a version of the Universal Transverse Mercator projection. The conversion formulae are copyright (C) 2005-2010 Chris Veness. See http://www.movable-type.co.uk/scripts/latlong-gridref.html.


Member Function Documentation

CT_EXPORT TCoordinateTransform * TOrdnanceSurveyProjection::Copy ( TResult aError) const [virtual]

Create an exact copy of this object.

Implements CartoType::TCoordinateTransform.

CT_EXPORT TResult TOrdnanceSurveyProjection::Inverse ( const TPoint aInput,
TPoint aOutput 
) const [virtual]

Project a point using the inverse transformation.

Implements CartoType::TCoordinateTransform.

CT_EXPORT void TOrdnanceSurveyProjection::ProjectHelper ( const TPoint aInput,
double &  aX,
double &  aY 
) const [protected, virtual]

Project points to double-precision floating point pixels without applying the final transform.

Implements CartoType::TProjectionUsingFloatingPoint.

CT_EXPORT TResult TOrdnanceSurveyProjection::Read ( TDataInputStream aInput) [virtual]

A virtual function to read a projection object from serialized data. Derived classes call this base function then read any data of their own.

Reimplemented from CartoType::TCoordinateTransform.


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