8 #include <matrix/vlVector.h>
10 #include <matrix/geodeticCoord.h>
24 #ifdef DtObjectDebugger_Enable
42 DtLocation3D(
const double latitude,
const double longitude,
43 const double altitudeMSL);
73 DtVector getGeocentric()
const;
74 DtGeodeticCoord geodLocation()
const;
81 void setGeodeticFromVector(
const DtVector& geodeticData);
82 DtVector getGeodeticVector(
void)
const;
87 double getLat()
const;
88 void setLat(
const double lat);
89 double getLon()
const;
90 void setLon(
const double lon);
91 double getAlt()
const;
92 void setAlt(
const double alt);
96 double distanceToLocation3D(
const DtLocation3D &location)
const;
103 bool isInsidePolygon(
const std::vector<DtLocation3D> polyPoints)
const;
131 void setGeocentric(
double x,
double y,
double z);
134 void getGeocentricCoords(
double& x,
double& y,
double& z)
const;
139 return !(*
this == orig);
143 bool isValid()
const;
163 #ifdef DtObjectDebugger_Enable
177 DtVector nedVector()
const;
180 DtVector3D(
const double north,
const double east,
const double down);
212 void setNorthEastDown(
const double north,
const double east,
217 void setBearingInclRange(
const double bearing,
const double inclination,
224 double getBearing(
void)
const;
226 double getInclination(
void)
const;
228 double getRange(
void)
const;
231 double getNorth(
void)
const;
233 double getEast(
void)
const;
235 double getDown(
void)
const;
241 DtVector3D getScaled(
const double scale)
const;
252 double dotVector3D(
const DtVector3D &vec)
const;
262 double headingDiff(
const DtVector3D &vec)
const;
271 return !(*
this == orig);
291 #ifdef DtObjectDebugger_Enable
309 DtVector2D(
const double north,
const double east);
317 void setNorth(
const double north);
318 void setEast(
const double east);
335 return !(*
this == orig);
349 #ifdef DtObjectDebugger_Enable
359 DtVector geocVector()
const;
404 double getLength()
const;
409 return !(*
this == orig);
430 #ifdef DtObjectDebugger_Enable
449 void setFromBodyVector(
const DtVector &vect);
477 double getRight(
void)
const;
478 void setRight(
const double right);
479 double getForward(
void)
const;
480 void setForward(
const double forward);
481 double getUp(
void)
const;
482 void setUp(
const double up);
506 DtVector vector()
const;
511 return !(*
this == orig);
static DtAsciiSerializable * creator()
Returns a new object of this type with default values.
voidpf uLong int origin
Definition: ioapi.h:42
Definition: asciiSerializable.h:40
virtual bool deserialize(const DtString &)=0
This function should take the string that was serialized via serialize() and fill this object with th...
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
#define DT_DEFINE_OBJECT_DEBUGGER_NAME(type)
Definition: objectCounter.h:31
Default on in debug, off in release.
Definition: objectCounter.h:27
DtVector myVector
Stores components right, forward, and up.
Definition: scriptGeometry.h:515
DT_DLL_features std::ostream & operator<<(std::ostream &, const DtFeatureTransform &)
std::ostream output.
virtual DtString serialize()=0
The following characters are reserved and cannot be used in serialization: '|', ':'.
DtVector myGeocVector
Definition: scriptGeometry.h:413
bool operator!=(const DtVector3D &orig) const
Components are north-east-down.
Definition: scriptGeometry.h:269
VectorOffset3D is a direction vector that is relative to some direction specified by a Vector3D...
Definition: scriptGeometry.h:428
DtVector myNEDVector
Components are north-east-down.
Definition: scriptGeometry.h:276
bool operator!=(const DtVectorOffset3D &orig) const
Definition: scriptGeometry.h:509
DtVector3D & operator=(const DtVector3D &orig)
bool operator!=(const DtVectorGeoc3D &orig) const
Definition: scriptGeometry.h:407
Definition: asyncJobServer.h:39
DtVector2D is a vector in earth-relative coordinates, e.g. east-north. Its direction in space depends...
Definition: scriptGeometry.h:289
virtual DtString objectType() const =0
Should return the string name of this object. The object name should not be part of the serialization...
DtVector3D is a vector in earth-relative coordinates, e.g. east-north or heading-range. Its direction in space depends on where on the earth it is attached (like topocentric coordinates).
Definition: scriptGeometry.h:161
voidpf stream
Definition: ioapi.h:39
VectorGeoc3D is a direction in 3-space, i.e. a vector in geocentric coordinates.
Definition: scriptGeometry.h:347
bool operator!=(const DtVector2D &orig) const
Definition: scriptGeometry.h:333
DtGeodeticCoord myGeodLocation
The private data. Kept in geodetic (lat, lon, alt) (units radians, radians, meters) assuming that mor...
Definition: scriptGeometry.h:149
bool operator!=(const DtLocation3D &orig) const
Definition: scriptGeometry.h:137
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
voidpf uLong offset
Definition: ioapi.h:42
virtual DtString objectType() const override
Inherited from DtAsciiSerializable.
A location3D is a point in space, i.e. a geocentric coordinate.
Definition: scriptGeometry.h:22