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

Point in R3. More...

#include <Point.h>

Inheritance diagram for Point3< T, FLOATTYPE >:
IMemoryValidate Vector3< T, FLOATTYPE >

List of all members.

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

m_x
m_y
m_z

Detailed Description

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

Point in R3.

Definition at line 35 of file Point.h.


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