Point in R3. More...
#include <Point.h>
Public Member Functions | |
Point3 (T x) | |
Point3 (T x, T y) | |
Point3 (T x, T y, T z) | |
Point3 (const Point3< T, FLOATTYPE > &pt) | |
Point3< T, FLOATTYPE > & | operator= (const Point3< T, FLOATTYPE > &pt) |
T | X () |
T | Y () |
T | Z () |
Vector3< T, FLOATTYPE > | operator- (Point3< T, FLOATTYPE > &pt) |
Point3< T, FLOATTYPE > | operator+ (Vector3< T, FLOATTYPE > &v) |
Point3< T, FLOATTYPE > | operator- (Vector3< T, FLOATTYPE > &v) |
Point3< T, FLOATTYPE > & | operator+= (Vector3< T, FLOATTYPE > &v) |
Point3< T, FLOATTYPE > & | operator-= (Vector3< T, FLOATTYPE > &v) |
bool | IsEqual (Point3< T, FLOATTYPE > *pt) |
bool | operator== (Point3< T, FLOATTYPE > &pt) |
bool | operator!= (Point3< T, FLOATTYPE > &pt) |
FLOATTYPE | IsLeft (Point3< T, FLOATTYPE > *p1, Point3< 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 (Point3< T, FLOATTYPE > *p, Point3< T, FLOATTYPE > *q) |
Euclidean distance. | |
Protected Attributes | |
T | m_x |
T | m_y |
T | m_z |
Point in R3.
Definition at line 35 of file Point.h.