VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions
DtGeodeticLocation Class Reference
+ Inheritance diagram for DtGeodeticLocation:
+ Collaboration diagram for DtGeodeticLocation:

Public Member Functions

 DtGeodeticLocation ()
 default constructor More...
 
 ~DtGeodeticLocation ()
 destructor More...
 
 DtGeodeticLocation (const DtGeodeticLocation &orig)
 copy constructor More...
 
DtGeodeticLocationoperator= (const DtGeodeticLocation &orig)
 assignment operator More...
 
virtual void setLatitude (const DtFloat64 &val)
 Set/Get the latitude. More...
 
virtual const DtFloat64 latitude () const
 
virtual void setLongitude (const DtFloat64 &val)
 Set/Get the longitude. More...
 
virtual const DtFloat64 longitude () const
 
bool operator== (const DtGeodeticLocation &other) const
 
bool operator!= (const DtGeodeticLocation &other) const
 
bool operator< (const DtGeodeticLocation &other) const
 
int netSize () const
 
unsigned int getPaddingSize (unsigned long long byteOffset, unsigned int boundary) const
 
void writeToBuffer (char *buffer) const
 
void fillFromBuffer (const char *buffer, int bufferSize, int offset)
 
virtual void printData () const
 
virtual void printDataToStream (std::ostream &) const
 
- Public Member Functions inherited from DtGeodeticCoord
 DtGeodeticCoord (const DtReferenceEllipsoid *ellipse=DtGlobalEllipsoid())
 default constructor If no reference ellipse is specified, a global one will be used If the global theGeoidDatumType variable is set, all altitude values will be adjusted to account for differences in Mean Sea Level between the ellipsoid and Geoid Model More...
 
 DtGeodeticCoord (double lat, double lon, double alt, const DtReferenceEllipsoid *ellipse=DtGlobalEllipsoid())
 constructor Latitude and longitude are specified in radians Altitude is specified in meters If no reference ellipse is specified, a global one will be used More...
 
virtual ~DtGeodeticCoord ()
 destructor More...
 
 DtGeodeticCoord (const DtGeodeticCoord &src)
 copy constructor More...
 
DtGeodeticCoordoperator= (const DtGeodeticCoord &src)
 assignment operator More...
 
virtual DtGeodeticCoordsetGeocentric (const DtVector &geocentric)
 Set from geocentric coordinate (convert geocentric to geodetic). More...
 
virtual void getGeocentric (DtVector &geocentric) const
 Get geocentric coordinate equivalent (convert geodetic to geocentric). More...
 
virtual DtVector geocentric () const
 Get geocentric coordinate equivalent (convert geodetic to geocentric). More...
 
virtual void setLat (DtFloat64 lat)
 Set/Get the latitude. More...
 
virtual DtFloat64 lat () const
 
virtual void setLon (DtFloat64 lon)
 Set/Get the longitude. More...
 
virtual DtFloat64 lon () const
 
virtual void setAlt (DtFloat64 alt)
 Set/Get the altitude. More...
 
virtual DtFloat64 alt () const
 
virtual const DtMapDatummapDatum () const
 
virtual void setGeoidDatumType (DtGeoidType geoid)
 Set a Geoid Datum type to use to account for differences in MSL. More...
 
- Public Member Functions inherited from DtVector64
 DtVector64 ()
 
 DtVector64 (const double &x, const double &y, const double &z)
 Construct from three doubles. More...
 
 ~DtVector64 ()
 destructor More...
 
 DtVector64 (const DtVector64 &vec)
 copy constructor More...
 
 DtVector64 (const DtVectorT< double > &vec)
 
DtVector64operator= (const DtVector64 &vec)
 assignment operator More...
 
DtVector64operator= (const DtVectorT< double > &vec)
 
DtVector64 crossProduct (const DtVector64 &v) const
 Compute cross product with another vector. More...
 
DtVector64operator+= (const DtVector64 &other)
 adds other to this vector More...
 
DtVector64operator-= (const DtVector64 &other)
 subtracts other from this vector (this - other) More...
 
double dotProduct (const DtVector64 &v) const
 Compute dot product with another vector. More...
 
bool approxEq (const DtVector64 &v, const double &tolerance) const
 check if the vector is zero-ed out withing the tolerance passed More...
 
- Public Member Functions inherited from DtVectorT< double >
 DtVectorT ()
 
 DtVectorT (const double &x, const double &y, const double &z)
 Construct from three doubles. More...
 
 DtVectorT (const DtVectorT< double > &vec)
 copy constructor More...
 
 ~DtVectorT ()
 destructor More...
 
DtVectorT< double > & operator= (const DtVectorT< double > &vec)
 assignment operator More...
 
void setToZero ()
 set Vector to all zeros More...
 
doubleoperator[] (int ind)
 Get the value for the specified subscript. (int version) More...
 
double operator[] (int ind) const
 A const version to get the value for the specified subscript. More...
 
doubleoperator[] (DtVectorOffset ind)
 Get the value for the specified subscript. (enum version) More...
 
double operator[] (DtVectorOffset ind) const
 a const version to get the value for the specified subscript. (enum version) More...
 
int operator== (const DtVectorT< double > &vec) const
 Get whether another vector equals this vector. More...
 
int operator!= (const DtVectorT< double > &vec) const
 Get whether another vector does not equal this vector. More...
 
DtString string () const
 Get a string representation of the vector. More...
 
double magnitudeSquared () const
 Get the magnitude of the vector squared, i.e. More...
 
void normalize ()
 Normalize the vector; i.e., magnitude = 1. More...
 
bool isNormalized () const
 Returns true of the vector is Normalized. More...
 
bool magnitudeIsZero () const
 check if the magnitude of this vector is zero More...
 
bool magnitudeIsZero (double tolerance) const
 check if the magnitude of this vector is zero, within the tolerance passed. More...
 
std::ostream & printDataToStream (std::ostream &str) const
 prints out a formated string to the stream More...
 
void get (double &x, double &y, double &z) const
 get the x,y,z component of a Vector (faster than x(), y(), z() calls made separately) More...
 
void setAll (const double &x, const double &y, const double &z)
 set x, y, and z components More...
 
const doublex () const
 gets/sets the x component of a Vector More...
 
void setX (const double &x)
 gets/sets the x component of a Vector More...
 
const doubley () const
 gets/sets the y component of a Vector More...
 
void setY (const double &y)
 gets/sets the y component of a Vector More...
 
const doublez () const
 gets/sets the z component of a Vector More...
 
void setZ (const double &z)
 gets/sets the z component of a Vector More...
 
 operator double * ()
 
 operator const double * () const
 

Static Public Member Functions

static int octetBoundary ()
 
- Static Public Member Functions inherited from DtVector64
static const DtVector64zero ()
 Get a zeroed vector. More...
 
static const DtVector64i ()
 Get a (1,0,0) vector. More...
 
static const DtVector64j ()
 Get a (0,1,0) vector. More...
 
static const DtVector64k ()
 Get a (0,0,1) vector. More...
 
static const DtVector64ones ()
 Get a vector set to all ones. More...
 

Additional Inherited Members

- Protected Attributes inherited from DtGeodeticCoord
const DtReferenceEllipsoidmyEllipsoid
 
DtGeoidDatummyGeoidDatum
 
- Protected Attributes inherited from DtVectorT< double >
double myRep [3]
 

Constructor & Destructor Documentation

DtGeodeticLocation::DtGeodeticLocation ( )

default constructor

DtGeodeticLocation::~DtGeodeticLocation ( )

destructor

DtGeodeticLocation::DtGeodeticLocation ( const DtGeodeticLocation orig)

copy constructor

Member Function Documentation

void DtGeodeticLocation::fillFromBuffer ( const char *  buffer,
int  bufferSize,
int  offset 
)
unsigned int DtGeodeticLocation::getPaddingSize ( unsigned long long  byteOffset,
unsigned int  boundary 
) const
virtual const DtFloat64 DtGeodeticLocation::latitude ( ) const
virtual
virtual const DtFloat64 DtGeodeticLocation::longitude ( ) const
virtual
int DtGeodeticLocation::netSize ( ) const
static int DtGeodeticLocation::octetBoundary ( )
static
bool DtGeodeticLocation::operator!= ( const DtGeodeticLocation other) const
bool DtGeodeticLocation::operator< ( const DtGeodeticLocation other) const
DtGeodeticLocation& DtGeodeticLocation::operator= ( const DtGeodeticLocation orig)

assignment operator

bool DtGeodeticLocation::operator== ( const DtGeodeticLocation other) const
virtual void DtGeodeticLocation::printData ( ) const
virtual

Reimplemented from DtGeodeticCoord.

virtual void DtGeodeticLocation::printDataToStream ( std::ostream &  ) const
virtual

Reimplemented from DtGeodeticCoord.

virtual void DtGeodeticLocation::setLatitude ( const DtFloat64 val)
virtual

Set/Get the latitude.

Specified in radians.

virtual void DtGeodeticLocation::setLongitude ( const DtFloat64 val)
virtual

Set/Get the longitude.

Specified in radians.

void DtGeodeticLocation::writeToBuffer ( char *  buffer) const

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

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)