Point4< T, FLOATTYPE > Class Template Reference
[Math]

Point in R4. More...

#include <Point.h>

Inheritance diagram for Point4< T, FLOATTYPE >:
IMemoryValidate Vector4< T, FLOATTYPE >

List of all members.

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)
X ()
Y ()
Z ()
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

m_x
m_y
m_z
m_w

Detailed Description

template<typename T, typename FLOATTYPE>
class Point4< T, FLOATTYPE >

Point in R4.

Definition at line 152 of file Point.h.


The documentation for this class was generated from the following file: