Point in R4. More...
#include <Point.h>
Public Member Functions | |
Point4 (T x) | |
Point4 (T x, T y) | |
Point4 (T x, T y, T z) | |
Point4 (T x, T y, T z, T w) | |
Point4 (const Point4< T, FLOATTYPE > &pt) | |
Point4< T, FLOATTYPE > & | operator= (const Point4< T, FLOATTYPE > &pt) |
T | X () |
T | Y () |
T | Z () |
T | W () |
Vector4< T, FLOATTYPE > | operator- (Point4< T, FLOATTYPE > &pt) |
Point4< T, FLOATTYPE > | operator+ (Vector4< T, FLOATTYPE > &v) |
Point4< T, FLOATTYPE > | operator- (Vector4< T, FLOATTYPE > &v) |
Point4< T, FLOATTYPE > & | operator+= (Vector4< T, FLOATTYPE > &v) |
Point4< T, FLOATTYPE > & | operator-= (Vector4< T, FLOATTYPE > &v) |
bool | IsEqual (Point4< T, FLOATTYPE > *pt) |
bool | operator== (Point4< T, FLOATTYPE > &pt) |
bool | operator!= (Point4< T, FLOATTYPE > &pt) |
FLOATTYPE | IsLeft (Point4< T, FLOATTYPE > *p1, Point4< T, FLOATTYPE > *p2) |
Sidedness of a Point wrt a directed line P1->P2 - makes sense in 2D only. | |
virtual void | ValidateMem () const |
virtual void | CheckMem () const |
Static Public Member Functions | |
static FLOATTYPE | Distance (Point4< T, FLOATTYPE > *p, Point4< T, FLOATTYPE > *q) |
Euclidean distance. | |
Protected Attributes | |
T | m_x |
T | m_y |
T | m_z |
T | m_w |
Point in R4.
Definition at line 152 of file Point.h.