Abstract interface for DFReport. This is the base class for DF report classes.
More...
#include <DF_Abstract_Report.hpp>
Abstract interface for DFReport. This is the base class for DF report classes.
virtual DFLib::Abstract::Report::~Report |
( |
| ) |
|
|
inlinevirtual |
DFLib::Abstract::Report::Report |
( |
std::string |
n, |
|
|
bool |
v |
|
) |
| |
constructor for base Report class
This cannot be used to create an abstract report, because this is an abstract class.
DFLib::Abstract::Report::Report |
( |
const Report & |
right | ) |
|
copy constructor for base Report class
This cannot be used to create an abstract report, because this is an abstract class.
double DFLib::Abstract::Report::computeBearingToPoint |
( |
std::vector< double > & |
aPoint | ) |
|
compute bearing from this reporting location to some other point
- Parameters
-
aPoint | point to which bearing requested. |
- Returns
- bearing in radians, in range
The base class computes the bearing in X-Y coordinates by taking the arctangent of "rise over run." This is certainly the appropriate thing to do when the X-Y coordinate system is a conformal projection. When working with non-conformal projections the computation could possibly be more involved.
double DFLib::Abstract::Report::computeDistanceToPoint |
( |
std::vector< double > & |
aPoint | ) |
|
compute distance from this reporting location to some other point.
- Parameters
-
aPoint | point to which distance is requested |
- Returns
- distance
The distance returned is the Cartesian distance in X-Y coordinates, . It is not the geodesic distance on the ellipsoid.
compute point at which the line from this report intersects that from another
- Parameters
-
Report2 | pointer to the other report |
returnPoint | reference to place to store solution point |
cutAngle | on return, the angle in radians made by the two bearing lines |
fs | fix status |
virtual double DFLib::Abstract::Report::getBearingStandardDeviationRadians |
( |
| ) |
const |
|
pure virtual |
virtual const std::vector<double>& DFLib::Abstract::Report::getReceiverLocation |
( |
| ) |
|
|
pure virtual |
virtual double DFLib::Abstract::Report::getReportBearingRadians |
( |
| ) |
const |
|
pure virtual |
virtual const std::string& DFLib::Abstract::Report::getReportName |
( |
| ) |
const |
|
inlinevirtual |
Return the name of this report.
virtual bool DFLib::Abstract::Report::isValid |
( |
| ) |
const |
|
inlinevirtual |
check this report's validity
virtual void DFLib::Abstract::Report::setInvalid |
( |
| ) |
|
|
inlinevirtual |
Set this report as invalid.
virtual void DFLib::Abstract::Report::setReportName |
( |
const std::string & |
theName | ) |
|
|
inlinevirtual |
set the name of this report
virtual void DFLib::Abstract::Report::setValid |
( |
| ) |
|
|
inlinevirtual |
Set this report as valid.
virtual void DFLib::Abstract::Report::toggleValidity |
( |
| ) |
|
|
inlinevirtual |
std::string DFLib::Abstract::Report::ReportName_ |
|
private |
bool DFLib::Abstract::Report::validReport_ |
|
private |
The documentation for this class was generated from the following files: