10 #include <vlutil/vlString.h>
11 #include <matrix/vlVector.h>
19 namespace vrvControlToolkit
59 const double& x()
const;
60 void setX(
const double& x);
65 const double& y()
const;
66 void setY(
const double& y);
88 double& operator[](
int ind);
91 double operator[](
int ind)
const;
115 double magnitudeSquared()
const;
121 bool isNormalized()
const;
127 bool approxEq(
const DtVdcVector2D& v,
const double& tolerance)
const;
130 bool magnitudeIsZero()
const;
135 bool magnitudeIsZero(
double tolerance)
const;
138 std::ostream &printDataToStream(std::ostream &str)
const;
146 operator const double* ()
const;
176 #define DtSetVec2D(v, x, y) v[DtSdcX]=x;v[DtSdcY]=y;
197 #define DtVdcVector2D_inl
198 #include <vrvDrawControl/DtVdcVector2D.inl>
199 #undef DtVdcVector2D_inl
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
DT_DLL_features std::ostream & operator<<(std::ostream &, const DtFeatureTransform &)
std::ostream output.
#define DT_DLL_VRVDRAWCONTROL
Definition: vrvDrawControl.h:15
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)