API Documentation
Loading...
Searching...
No Matches
CoordinateConverter Class Referenceabstract

Stores different projections and then converts data from one projection into another. More...

#include <CoordinateConverter.h>

Inheritance diagram for CoordinateConverter:
[legend]
Collaboration diagram for CoordinateConverter:
[legend]

Public Member Functions

virtual Bounds< 2, fltp08convert (const Bounds< 2, fltp08 > &location, bool inverse=false) const =0
 
virtual Bounds< 3, fltp08convert (const Bounds< 3, fltp08 > &location, bool inverse=false) const =0
 
virtual Matrix< fltp08convert (const Matrix< fltp08 > &location, bool inverse=false) const =0
 
virtual Vertex< 2, fltp08convert (const Vertex< 2, fltp08 > &location, bool inverse=false) const =0
 
virtual Vertex< 3, fltp08convert (const Vertex< 3, fltp08 > &location, bool inverse=false) const =0
 
 CoordinateConverter (const CoordinateProjection &to_projection, const CoordinateProjection &from_projection)
 
CoordinateProjection fromProjection ()
 
virtual void setDestinationProjection (const CoordinateProjection &to_projection)=0
 
virtual void setSourceProjection (const CoordinateProjection &from_projection)=0
 
CoordinateProjection toProjection ()
 

Protected Attributes

CoordinateProjection m_from_projection
 
CoordinateProjection m_to_projection
 

Detailed Description

Stores different projections and then converts data from one projection into another.


Constructor & Destructor Documentation

◆ CoordinateConverter()

CoordinateConverter ( const CoordinateProjection & to_projection,
const CoordinateProjection & from_projection )
inline

Member Function Documentation

◆ convert() [1/5]

virtual Bounds< 2, fltp08 > convert ( const Bounds< 2, fltp08 > & location,
bool inverse = false ) const
pure virtual

Implemented in Proj4CoordinateConverter.

◆ convert() [2/5]

virtual Bounds< 3, fltp08 > convert ( const Bounds< 3, fltp08 > & location,
bool inverse = false ) const
pure virtual

Implemented in Proj4CoordinateConverter.

◆ convert() [3/5]

virtual Matrix< fltp08 > convert ( const Matrix< fltp08 > & location,
bool inverse = false ) const
pure virtual

Implemented in Proj4CoordinateConverter.

◆ convert() [4/5]

virtual Vertex< 2, fltp08 > convert ( const Vertex< 2, fltp08 > & location,
bool inverse = false ) const
pure virtual

Implemented in Proj4CoordinateConverter.

◆ convert() [5/5]

virtual Vertex< 3, fltp08 > convert ( const Vertex< 3, fltp08 > & location,
bool inverse = false ) const
pure virtual

Implemented in Proj4CoordinateConverter.

◆ fromProjection()

CoordinateProjection fromProjection ( )
inline

◆ setDestinationProjection()

virtual void setDestinationProjection ( const CoordinateProjection & to_projection)
pure virtual

Implemented in Proj4CoordinateConverter.

◆ setSourceProjection()

virtual void setSourceProjection ( const CoordinateProjection & from_projection)
pure virtual

Implemented in Proj4CoordinateConverter.

◆ toProjection()

CoordinateProjection toProjection ( )
inline

Member Data Documentation

◆ m_from_projection

CoordinateProjection m_from_projection
protected

◆ m_to_projection

CoordinateProjection m_to_projection
protected

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