7 #include <vlutil/vlString.h>
8 #include <matrix/vlVector.h>
16 namespace vrvControlToolkit
56 const double& x()
const;
57 void setX(
const double& x);
62 const double& y()
const;
63 void setY(
const double& y);
85 double& operator[](
int ind);
88 double operator[](
int ind)
const;
108 DtVector vector3D()
const;
112 double magnitudeSquared()
const;
118 bool isNormalized()
const;
124 bool approxEq(
const DtVdcVector2D& v,
const double& tolerance)
const;
127 bool magnitudeIsZero()
const;
132 bool magnitudeIsZero(
double tolerance)
const;
135 std::ostream &printDataToStream(std::ostream &str)
const;
143 operator const double* ()
const;
173 #define DtSetVec2D(v, x, y) v[DtSdcX]=x;v[DtSdcY]=y;
194 #define DtVdcVector2D_inl
195 #include <vrvDrawControl/DtVdcVector2D.inl>
196 #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)