18 template <
typename TYPE =
float>
50 v_SetPoint(vVal, iArrayIndexStart);
56 this->m_x = this->m_y = this->m_z = k_FLT_MAX2;
60 return this->m_x != k_FLT_MAX2 && this->m_y != k_FLT_MAX2;
64 return this->m_x != k_FLT_MAX2 && this->m_y != k_FLT_MAX2 && this->m_z != k_FLT_MAX2;
71 this->m_x = (
TYPE)pt.x;
72 this->m_y = (
TYPE)pt.y;
77 this->m_x = (
TYPE)pt.x;
78 this->m_y = (
TYPE)pt.y;
85 pt.x = (LONG)this->m_x;
86 pt.y = (LONG)this->m_y;
89 operator POINT()
const
97 pt.x = (short)this->m_x;
98 pt.y = (short)this->m_y;
101 operator POINTS()
const
143 bool put_MapCoord(
cString sVal);
#define GRAYLIB_LINK
Definition: GrayLibBase.h:35
#define IS_INDEX_GOOD(i, q)
cast the (likely) int to unsigned to check for negatives.
Definition: Index.h:35
#define TYPE
Definition: StrT.cpp:38
#define ASSERT(exp)
Definition: cDebugAssert.h:87
short m_dx
-1,0,+1 = Cos(angle)
Definition: cDirectionDef.h:56
static const cDirectionDef k_Directions[DIR_QTY+1]
Definition: cDirectionDef.h:51
short m_dy
-1,0,+1 = Sin(angle)
Definition: cDirectionDef.h:57
cPoint3T(TYPE x, TYPE y, TYPE z=0)
Definition: cPoint3.h:44
POINT get_POINT() const
Definition: cPoint3.h:81
cPoint3T()
Definition: cPoint3.h:33
HASHCODE_t get_HashCode2() const
Definition: cPoint3.h:145
void MoveDirN(DIR_TYPE eDir, float nSteps)
Definition: cPoint3.h:118
void MoveDir(DIR_TYPE eDir)
Definition: cPoint3.h:111
cVecT2< TYPE > get_Point2() const
Definition: cPoint3.h:106
void Set(POINT pt)
Definition: cPoint3.h:69
cVecT2< TYPE > & get_Point2f()
Definition: cPoint3.h:133
cPoint3T(const SUPER_t &ptVal)
Definition: cPoint3.h:39
void InitInvalid()
Definition: cPoint3.h:54
cPoint3T(const cVariant &vVal, int iArrayIndexStart=0)
Definition: cPoint3.h:48
bool IsValid() const
Definition: cPoint3.h:62
bool IsValid2d() const
Definition: cPoint3.h:58
POINTS get_POINTS() const
Definition: cPoint3.h:93
TYPE GetDirZ(const SUPER_t &pt) const
Definition: cPoint3.h:126
void Set(POINTS pt)
Definition: cPoint3.h:75
Definition: cVariant.h:26
TYPE m_x
Definition: cVecT.h:544
TYPE m_y
Definition: cVecT.h:544
cPoint3T< double > cPoint3d
Definition: cPoint3.h:153
DIR_TYPE
Definition: cDirectionDef.h:25
@ DIR_QTY
Also means "Center".
Definition: cDirectionDef.h:38
cPoint3T< float > cPoint3f
Definition: cPoint3.h:152
int ITERATE_t
like size_t but signed
Definition: Index.h:28
UINT_PTR HASHCODE_t
could hold a pointer converted to a number? maybe 64 or 32 bit ? same as size_t.
Definition: GrayCore.h:116
static TYPE ATan2(TYPE y, TYPE x)