|
| cPoint3T () |
|
| cPoint3T (const SUPER_t &ptVal) |
|
| cPoint3T (TYPE x, TYPE y, TYPE z=0) |
|
| cPoint3T (const cVariant &vVal, int iArrayIndexStart=0) |
|
void | InitInvalid () |
|
bool | IsValid2d () const |
|
bool | IsValid () const |
|
void | Set (POINT pt) |
|
void | Set (POINTS pt) |
|
POINT | get_POINT () const |
|
| operator POINT () const |
|
POINTS | get_POINTS () const |
|
| operator POINTS () const |
|
cVecT2< TYPE > | get_Point2 () const |
|
void | MoveDir (DIR_TYPE eDir) |
|
void | MoveDirN (DIR_TYPE eDir, float nSteps) |
|
TYPE | GetDirZ (const SUPER_t &pt) const |
|
cVecT2< TYPE > & | get_Point2f () |
|
ITERATE_t | v_SetPoint (const cVariant &vVal, ITERATE_t iArrayIndexStart=0) |
|
ITERATE_t | v_AddPoint (OUT cVariant &vVal) const |
|
cString | get_StringI3 () const |
|
bool | put_MapCoord (cString sVal) |
|
HASHCODE_t | get_HashCode2 () const |
|
| cVecT3 () noexcept |
|
| cVecT3 (const SUPER_t &v) noexcept |
|
| cVecT3 (const float *pVals) noexcept |
|
| cVecT3 (float n0, float n1, float n2=0) noexcept |
|
float | get_X () const noexcept |
|
float | get_Y () const noexcept |
|
float | get_Z () const noexcept |
|
const cVecT2< float > & | get_V2 () const noexcept |
|
bool | IsSame2D (const THIS_t &pt) const noexcept |
|
float | GetDist2DSq (float nX, float nY) const |
|
float | GetDist2DSq (const THIS_t &pt) const |
|
float | GetDist2D (const THIS_t &pt) const |
|
void | InitCross (const THIS_t &rA, const THIS_t &rB) |
|
THIS_t | GetCross (const THIS_t &rB) const |
|
void | SetCross (const THIS_t &v2) |
|
float * | get_T () noexcept |
|
const float * | get_CT () const noexcept |
|
const cVecT3< float > & | get_CR () const noexcept |
|
| operator const float * () const noexcept |
|
float | GetElem (int i) const noexcept |
|
float | operator[] (int i) const noexcept |
|
float & | operator[] (int i) |
|
bool | isZero () const noexcept |
|
COMPARE_t | Compare (const THIS_t &v2) const noexcept |
|
bool | operator== (const THIS_t &v2) const noexcept |
|
bool | operator!= (const THIS_t &v2) const noexcept |
|
bool | IsNear (const THIS_t &v2, float fDist=(float) k_FLT_MIN2) const |
|
float | get_MagnitudeSq () const noexcept |
|
float | get_Magnitude () const noexcept |
|
cVecT3< float > | operator- () const |
|
cVecT3< float > | operator- (const THIS_t &v2) const |
|
cVecT3< float > | get_Abs () const |
|
cVecT3< float > | GetSum (const THIS_t &v2) const |
|
cVecT3< float > | operator+ (const THIS_t &v2) const |
|
cVecT3< float > | GetDiff (const THIS_t &v2) const |
|
cVecT3< float > | GetScaled (float nScale) const |
|
cVecT3< float > | operator* (float nScale) const |
|
cVecT3< float > | operator/ (float nScale) const |
|
cVecT3< float > | GetMul (const THIS_t &v2) const |
|
cVecT3< float > | GetDiv (const THIS_t &v2) const |
|
float | GetDistSq (const THIS_t &v2) const |
|
float | GetDist (const THIS_t &v2) const |
|
float | GetDot (const THIS_t &v2) const |
|
cVecT3< float > | get_Normalized () const |
|
| operator float * () |
|
float & | RefElem (int i) noexcept |
|
void | Set (const THIS_t &v) |
|
void | SetZero () noexcept |
|
float | SetNormalized (void) noexcept |
|
bool | put_Magnitude (float nLength) |
|
void | SetLerp (const THIS_t &a, const THIS_t &b, DVALUE_t t) |
|
const cVecT3< float > & | operator+= (const THIS_t &v2) |
|
const cVecT3< float > & | operator+= (float n) |
|
const cVecT3< float > & | operator-= (const THIS_t &v2) noexcept |
|
const cVecT3< float > & | operator-= (float n) noexcept |
|
void | DoScale (float n) noexcept |
|
const cVecT3< float > & | operator*= (float nScale) noexcept |
|
cVecT3< float > & | operator*= (const THIS_t &v2) noexcept |
|
const cVecT3< float > & | operator/= (float nScale) |
|
cVecT3< float > & | operator/= (const THIS_t &v2) |
|
void | DoMul (const THIS_t &v2) noexcept |
|
void | DoDiv (const THIS_t &v2) |
|
template<typename TYPE = float>
class GrayLib::cPoint3T< TYPE >
A float 3d point in the virtual world space. (in meters). e.g. HLSL = float3 z = up/down
- Note
- Assume any compared point is on the same map!
-
Assume any compared point has the same units.
-
Assume xyz have the same units
-
DO NOT use cVector3f as a base, it will/may have different units ! force me to convert.