OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimGeodeticEvaluator.h>
Public Member Functions | |
ossimGeodeticEvaluator (const ossimEllipsoid &ell=ossimEllipsoid()) | |
constructor. More... | |
~ossimGeodeticEvaluator () | |
virtual destructor. More... | |
bool | direct (const ossimGpt &p1, const double &az1, const double &d, ossimGpt &p2, double &az2) |
Evaluate direct problem. More... | |
bool | inverse (const ossimGpt &p1, const ossimGpt &p2, double &d, double &az12, double &az21) |
Evaluate Vincenty inverse problem. More... | |
Protected Attributes | |
double | m_A |
double | m_B |
double | m_F |
double | m_A2 |
double | m_B2 |
double | m_Ecc2 |
double | m_2ndEcc2 |
Definition at line 17 of file ossimGeodeticEvaluator.h.
ossimGeodeticEvaluator::ossimGeodeticEvaluator | ( | const ossimEllipsoid & | ell = ossimEllipsoid() | ) |
constructor.
Defaults to WGS-84
Definition at line 29 of file ossimGeodeticEvaluator.cpp.
References m_2ndEcc2, m_A, m_A2, m_B, and m_B2.
ossimGeodeticEvaluator::~ossimGeodeticEvaluator | ( | ) |
virtual destructor.
Definition at line 48 of file ossimGeodeticEvaluator.cpp.
bool ossimGeodeticEvaluator::direct | ( | const ossimGpt & | p1, |
const double & | az1, | ||
const double & | d, | ||
ossimGpt & | p2, | ||
double & | az2 | ||
) |
Evaluate direct problem.
Given: Point 1 position, azimuth & distance to point 2. Find: Point 2 position, azimuth from point 2 to point 1.
p1 | Point 1. |
az1 | Azimuth from point 1 to point 2. |
d | Distance between points 1 & 2. |
p2 | Point 2. |
az2 | Azimuth from point 2 to point 1. |
Definition at line 65 of file ossimGeodeticEvaluator.cpp.
bool ossimGeodeticEvaluator::inverse | ( | const ossimGpt & | p1, |
const ossimGpt & | p2, | ||
double & | d, | ||
double & | az12, | ||
double & | az21 | ||
) |
Evaluate Vincenty inverse problem.
Given: Point 1 & point 2 positions. Find: Distance and azimuths between points.
p1 | Point 1. |
p2 | Point 2. |
d | Distance between points 1 & 2. |
az12 | Azimuth from point 1 to point 2. |
az21 | Azimuth from point 2 to point 1. |
Definition at line 181 of file ossimGeodeticEvaluator.cpp.
|
protected |
Definition at line 69 of file ossimGeodeticEvaluator.h.
Referenced by ossimGeodeticEvaluator().
|
protected |
Definition at line 63 of file ossimGeodeticEvaluator.h.
Referenced by ossimGeodeticEvaluator().
|
protected |
Definition at line 66 of file ossimGeodeticEvaluator.h.
Referenced by ossimGeodeticEvaluator().
|
protected |
Definition at line 64 of file ossimGeodeticEvaluator.h.
Referenced by ossimGeodeticEvaluator().
|
protected |
Definition at line 67 of file ossimGeodeticEvaluator.h.
Referenced by ossimGeodeticEvaluator().
|
protected |
Definition at line 68 of file ossimGeodeticEvaluator.h.
|
protected |
Definition at line 65 of file ossimGeodeticEvaluator.h.