DFLib
Release 1.0.0
|
DF report in user-specified coordinates. More...
#include <DF_Proj_Report.hpp>
Public Member Functions | |
Report (const std::vector< double > &theLocationUser, const double &bearing, const double &std_dev, const std::string &theName, const std::vector< std::string > &projArgs) | |
DF report constructor for user-specified coordinate system. More... | |
Report (const Report &right) | |
Copy constructor. More... | |
Report & | operator= (const Report &rhs) |
assignment operator More... | |
virtual | ~Report () |
virtual destructor because base classes need one More... | |
virtual const std::vector< double > & | getReceiverLocation () |
return receiver location in double vector of XY coords More... | |
virtual Point | getReceiverPoint () const |
return a copy (yes, a COPY) of the receiver point object More... | |
virtual double | getReportBearingRadians () const |
return reported bearing to target More... | |
virtual double | getBearing () const |
virtual double | getBearingStandardDeviationRadians () const |
virtual double | getSigma () const |
virtual void | setReceiverLocationUser (const std::vector< double > &theLocation) |
virtual void | setReceiverLocationMercator (const std::vector< double > &theLocation) |
virtual void | setBearing (double Bearing) |
set bearing in degrees More... | |
virtual void | setSigma (double Sigma) |
set standard deviation in degrees More... | |
virtual void | setUserProj (const std::vector< std::string > &projArgs) |
allow us to change the projection of the user coordinates More... | |
Public Member Functions inherited from DFLib::Abstract::Report | |
Report (std::string n, bool v) | |
constructor for base Report class More... | |
Report (const Report &right) | |
copy constructor for base Report class More... | |
virtual const std::string & | getReportName () const |
Return the name of this report. More... | |
virtual void | setReportName (const std::string &theName) |
set the name of this report More... | |
virtual void | setValid () |
Set this report as valid. More... | |
virtual void | setInvalid () |
Set this report as invalid. More... | |
virtual void | toggleValidity () |
virtual bool | isValid () const |
check this report's validity More... | |
void | computeFixCut (DFLib::Abstract::Report *Report2, Point &returnPoint, double &cutAngle, FixStatus &fs) |
compute point at which the line from this report intersects that from another More... | |
double | computeBearingToPoint (std::vector< double > &aPoint) |
compute bearing from this reporting location to some other point More... | |
double | computeDistanceToPoint (std::vector< double > &aPoint) |
compute distance from this reporting location to some other point. More... | |
Private Attributes | |
Point * | receiverLocation |
double | bearing |
double | sigma |
DF report in user-specified coordinates.
DFLib::Proj::Report::Report | ( | const std::vector< double > & | theLocation, |
const double & | Bearing, | ||
const double & | std_dev, | ||
const std::string & | theName, | ||
const std::vector< std::string > & | projArgs | ||
) |
DF report constructor for user-specified coordinate system.
theLocation | position vector in lat/lon of this report. |
Bearing | bearing IN DEGREES |
std_dev | standard deviation in degrees |
projArgs | a vector of strings to pass to pj_init in order to define the user coordinate system. |
DFLib::Proj::Report::Report | ( | const Report & | right | ) |
Copy constructor.
|
virtual |
virtual destructor because base classes need one
Reimplemented from DFLib::Abstract::Report.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
return receiver location in double vector of XY coords
Implements DFLib::Abstract::Report.
|
virtual |
return a copy (yes, a COPY) of the receiver point object
|
inlinevirtual |
return reported bearing to target
It is essential that getReportBearingRadians always return the bearing in the correct range .
Implements DFLib::Abstract::Report.
|
inlinevirtual |
assignment operator
|
inlinevirtual |
set bearing in degrees
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
set standard deviation in degrees
|
inlinevirtual |
allow us to change the projection of the user coordinates
|
private |
|
private |
|
private |