Public Member Functions
proj::MapProjection Class Reference

An interface which represents a projection of geospatial coordinates to planar coordinates. More...

#include <MapProjection.h>

Inheritance diagram for proj::MapProjection:
proj::OrthoProjection

Public Member Functions

virtual FlatPoint project (double lat, double lon)=0
 Project geospatial point onto plane.
virtual FlatPoint project (geo::Point const &p)
 Project geospatial point onto plane.
virtual geo::Point unproject (double x, double y)=0
 Transform point on a plane to a geospatial point that would be projected on it.
virtual geo::Point unproject (FlatPoint const &p)
 Transform point on a plane to a geospatial point that would be projected on it.
virtual ~MapProjection ()

Detailed Description

An interface which represents a projection of geospatial coordinates to planar coordinates.

Definition at line 21 of file MapProjection.h.


Constructor & Destructor Documentation

proj::MapProjection::~MapProjection ( ) [virtual]

Definition at line 23 of file MapProjection.cpp.


Member Function Documentation

virtual FlatPoint proj::MapProjection::project ( double  lat,
double  lon 
) [pure virtual]

Project geospatial point onto plane.

Parameters:
latlatitude of projected point
lonlongitude of projected point
Returns:
projection of the point

Implemented in proj::OrthoProjection.

FlatPoint proj::MapProjection::project ( geo::Point const &  p) [virtual]

Project geospatial point onto plane.

Parameters:
ppoint to project
Returns:
projection of the point

Reimplemented in proj::OrthoProjection.

Definition at line 13 of file MapProjection.cpp.

virtual geo::Point proj::MapProjection::unproject ( double  x,
double  y 
) [pure virtual]

Transform point on a plane to a geospatial point that would be projected on it.

Parameters:
xthe x coordinate of point
ythe y coordinate of point
Returns:
geospatial point

Implemented in proj::OrthoProjection.

geo::Point proj::MapProjection::unproject ( FlatPoint const &  p) [virtual]

Transform point on a plane to a geospatial point that would be projected on it.

Parameters:
pthe point
Returns:
geospatial point

Reimplemented in proj::OrthoProjection.

Definition at line 18 of file MapProjection.cpp.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines