#include <DF_LatLon_Point.hpp>
|
| | Point () |
| | Default Constructor.
|
| |
| | Point (const std::vector< double > &llPosition) |
| | Constructor.
|
| |
| | Point (const Point &right) |
| | Copy Constructor.
|
| |
| bool | isUserProjRadians () const |
| | return true if user projection expects input in radians
|
| |
| virtual void | setXY (const std::vector< double > &aPosition) |
| | set mercator projection (XY) position
|
| |
| virtual const std::vector< double > & | getXY () |
| | get mercator projection (XY) position
|
| |
| virtual const std::vector< double > & | getUserCoords () |
| | get user position
|
| |
| virtual void | setUserCoords (const std::vector< double > &uPosition) |
| | set user position
|
| |
| void | setLL (const std::vector< double > &llPosition) |
| | set lat/lon position
|
| |
| const std::vector< double > & | getLL () |
| | get Lat/Lon position
|
| |
| Point * | Clone () |
| | Clone Self.
|
| |
| | ~Point () |
| | virtual destructor because there should always be one
|
| |
| virtual | ~Point () |
| | virtual destructor because there should always be one
|
| |
| virtual void | setXY (const std::vector< double > &aPosition)=0 |
| | Set X-Y coordinates of the point.
|
| |
| virtual const std::vector< double > & | getXY ()=0 |
| | Get X-Y coordinates of the point.
|
| |
| virtual const std::vector< double > & | getUserCoords ()=0 |
| | Get coordinates in the user's coordinate system.
|
| |
| virtual void | setUserCoords (const std::vector< double > &uPosition)=0 |
| | Set coordinates in the user's coordinate system.
|
| |
| virtual Point * | Clone ()=0 |
| | Clone Self.
|
| |
◆ Point() [1/3]
| DFLib::LatLon::Point::Point |
( |
| ) |
|
◆ Point() [2/3]
| DFLib::LatLon::Point::Point |
( |
const std::vector< double > & |
llPosition | ) |
|
Constructor.
- Parameters
-
| llPosition | coordinates in Lat Lon |
◆ Point() [3/3]
| DFLib::LatLon::Point::Point |
( |
const Point & |
right | ) |
|
◆ ~Point()
| DFLib::LatLon::Point::~Point |
( |
| ) |
|
|
virtual |
◆ Clone()
| 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.
◆ getLL()
| const std::vector< double > & DFLib::LatLon::Point::getLL |
( |
| ) |
|
get Lat/Lon position
- Returns
- vector of coordinates in lat/lon
◆ getUserCoords()
| 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.
◆ getXY()
| 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.
◆ isUserProjRadians()
| bool DFLib::LatLon::Point::isUserProjRadians |
( |
| ) |
const |
return true if user projection expects input in radians
◆ llToMerc()
| void DFLib::LatLon::Point::llToMerc |
( |
| ) |
|
|
private |
◆ mercToLL()
| void DFLib::LatLon::Point::mercToLL |
( |
| ) |
|
|
private |
◆ setLL()
| void DFLib::LatLon::Point::setLL |
( |
const std::vector< double > & |
llPosition | ) |
|
set lat/lon position
- Parameters
-
| llPosition | coordinates in Lat/Lon |
◆ setUserCoords()
| 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.
◆ setXY()
| 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.
◆ convertPJ
| PJ* DFLib::LatLon::Point::convertPJ |
|
private |
◆ llDirty
| bool DFLib::LatLon::Point::llDirty |
|
private |
◆ mercDirty
| bool DFLib::LatLon::Point::mercDirty |
|
private |
◆ theLatLon
| std::vector<double> DFLib::LatLon::Point::theLatLon |
|
private |
◆ theMerc
| std::vector<double> DFLib::LatLon::Point::theMerc |
|
private |
The documentation for this class was generated from the following files: