VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
DtTopoPoint Class Reference

This class represents a topographic coordinate. It has the exact same interface as DtVector. The intent was to keep DtTerrainReasonerAlgos decoupled from VRF code base, for the purpose of testing it outside VRF. This can be easily undone by replacing DtTopoPoint with a typedef, thus making it a mere alias of DtVector.

Note: in practice, testing outside VRF only proved useful for the hilltops finding algorithm. Position finding algorithms rely heavily on line-of-sight checks (not easily stubbed) and thus they were never tested outside VRF.

Public Member Functions

 DtTopoPoint (double _x, double _y, double _z)
 
 DtTopoPoint ()
 
double x () const
 
void setX (double _x)
 
double y () const
 
void setY (double _y)
 
double z () const
 
void setZ (double _z)
 

Private Attributes

double mx
 
double my
 
double mz
 

Constructor & Destructor Documentation

DtTopoPoint::DtTopoPoint ( double  _x,
double  _y,
double  _z 
)
inline
DtTopoPoint::DtTopoPoint ( )
inline

Member Function Documentation

double DtTopoPoint::x ( ) const
inline
void DtTopoPoint::setX ( double  _x)
inline
double DtTopoPoint::y ( ) const
inline
void DtTopoPoint::setY ( double  _y)
inline
double DtTopoPoint::z ( ) const
inline
void DtTopoPoint::setZ ( double  _z)
inline

Member Data Documentation

double DtTopoPoint::mx
private
double DtTopoPoint::my
private
double DtTopoPoint::mz
private

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)