#include <DF_LatLon_Point.hpp>
DFLib::LatLon::Point::Point |
( |
| ) |
|
DFLib::LatLon::Point::Point |
( |
const std::vector< double > & |
llPosition | ) |
|
Constructor.
- Parameters
-
llPosition | coordinates in Lat Lon |
DFLib::LatLon::Point::Point |
( |
const Point & |
right | ) |
|
Point * DFLib::LatLon::Point::Clone |
( |
| ) |
|
|
virtual |
Clone Self.
Make a copy of yourself, and return a pointer to the copy. This is useful as a prototype: pass a pointer to any concrete implementation to a function, and that function has a way of making other objects of precisely the same type by cloning.
- Returns
- pointer to
Implements DFLib::Abstract::Point.
const std::vector< double > & DFLib::LatLon::Point::getLL |
( |
| ) |
|
get Lat/Lon position
- Returns
- vector of coordinates in lat/lon
virtual const std::vector<double>& DFLib::LatLon::Point::getUserCoords |
( |
| ) |
|
|
inlinevirtual |
get user position
This is just a wrapper for getLL as needed by the abstract interface
Implements DFLib::Abstract::Point.
const std::vector< double > & DFLib::LatLon::Point::getXY |
( |
| ) |
|
|
virtual |
get mercator projection (XY) position
- Returns
- vector of coordinates in mercator projection
Implements DFLib::Abstract::Point.
void DFLib::LatLon::Point::llToMerc |
( |
| ) |
|
|
private |
void DFLib::LatLon::Point::mercToLL |
( |
| ) |
|
|
private |
void DFLib::LatLon::Point::setLL |
( |
const std::vector< double > & |
llPosition | ) |
|
set lat/lon position
- Parameters
-
llPosition | coordinates in Lat/Lon |
virtual void DFLib::LatLon::Point::setUserCoords |
( |
const std::vector< double > & |
uPosition | ) |
|
|
inlinevirtual |
set user position
This is just a wrapper for setLL as needed by the abstract interface
Implements DFLib::Abstract::Point.
void DFLib::LatLon::Point::setXY |
( |
const std::vector< double > & |
aPosition | ) |
|
|
virtual |
set mercator projection (XY) position
- Parameters
-
aPosition | coordinates in mercator projection |
Implements DFLib::Abstract::Point.
projPJ DFLib::LatLon::Point::latlonProj |
|
private |
bool DFLib::LatLon::Point::llDirty |
|
private |
bool DFLib::LatLon::Point::mercDirty |
|
private |
projPJ DFLib::LatLon::Point::mercProj |
|
private |
std::vector<double> DFLib::LatLon::Point::theLatLon |
|
private |
std::vector<double> DFLib::LatLon::Point::theMerc |
|
private |
The documentation for this class was generated from the following files: