Public Member Functions
proj::OrthoProjection Class Reference

Class for orthographic projection of ball surface. More...

#include <OrthoProjection.h>

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

Public Member Functions

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

Detailed Description

Class for orthographic projection of ball surface.

All angles are in degrees.

Definition at line 21 of file OrthoProjection.h.


Constructor & Destructor Documentation

proj::OrthoProjection::OrthoProjection ( geo::Point  center,
double  radius 
)

Definition at line 14 of file OrthoProjection.cpp.

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

Definition at line 41 of file OrthoProjection.cpp.


Member Function Documentation

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

Project geospatial point onto plane.

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

Implements proj::MapProjection.

Definition at line 21 of file OrthoProjection.cpp.

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

Project geospatial point onto plane.

Parameters:
ppoint to project
Returns:
projection of the point

Reimplemented from proj::MapProjection.

Definition at line 50 of file OrthoProjection.cpp.

geo::Point proj::OrthoProjection::unproject ( double  x,
double  y 
) [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

Implements proj::MapProjection.

Definition at line 30 of file OrthoProjection.cpp.

geo::Point proj::OrthoProjection::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 from proj::MapProjection.

Definition at line 55 of file OrthoProjection.cpp.


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