rtVTK  0.6.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Static Public Attributes | Private Attributes | Friends
Math::Point< T > Class Template Reference

Storage and manipulation of points. More...

List of all members.

Public Member Functions

 Point (const T &x, const T &y, const T &z)
 Point (const Point &p)
 Point ()
 ~Point ()
T & operator[] (uint i)
const T & operator[] (uint i) const
Point operator- () const
Point operator+ (const Point &p) const
Vector< T > operator- (const Point &p) const
Point operator+ (const Vector< T > &v) const
Point operator- (const Vector< T > &v) const
Point operator/ (const T &s) const

Static Public Attributes

static const Point Epsilon
static const Point One
static const Point Max
static const Point Min
static const Point Zero

Private Attributes

e [3]

Friends

class Vector< T >
Point< T > Math::operator* (const T &, const Point< T > &)
Point Min (const Point &p0, const Point &p1)
Point Max (const Point &p0, const Point &p1)
istream & operator>> (istream &in, Point &p)
ostream & operator<< (ostream &out, const Point &p)

Detailed Description

template<typename T>
class Math::Point< T >

Storage and manipulation of points.


Constructor & Destructor Documentation

template<typename T>
Math::Point< T >::Point ( const T &  x,
const T &  y,
const T &  z 
) [inline]

References Math::Point< T >::e.

template<typename T>
Math::Point< T >::Point ( const Point< T > &  p) [inline]

References Math::Point< T >::e.

template<typename T>
Math::Point< T >::Point ( ) [inline]
template<typename T>
Math::Point< T >::~Point ( ) [inline]

Member Function Documentation

template<typename T>
Point Math::Point< T >::operator+ ( const Point< T > &  p) const [inline]
template<typename T>
Point Math::Point< T >::operator+ ( const Vector< T > &  v) const [inline]
template<typename T>
Point Math::Point< T >::operator- ( ) const [inline]
template<typename T>
Vector<T> Math::Point< T >::operator- ( const Point< T > &  p) const [inline]

References Math::Point< T >::e.

template<typename T>
Point Math::Point< T >::operator- ( const Vector< T > &  v) const [inline]
template<typename T>
Point Math::Point< T >::operator/ ( const T &  s) const [inline]
template<typename T>
T& Math::Point< T >::operator[] ( uint  i) [inline]

References Math::Point< T >::e.

template<typename T>
const T& Math::Point< T >::operator[] ( uint  i) const [inline]

References Math::Point< T >::e.


Friends And Related Function Documentation

template<typename T>
Point<T> Math::operator* ( const T &  ,
const Point< T > &   
) [friend]
template<typename T>
Point Max ( const Point< T > &  p0,
const Point< T > &  p1 
) [friend]
template<typename T>
Point Min ( const Point< T > &  p0,
const Point< T > &  p1 
) [friend]
template<typename T>
ostream& operator<< ( ostream &  out,
const Point< T > &  p 
) [friend]
template<typename T>
istream& operator>> ( istream &  in,
Point< T > &  p 
) [friend]
template<typename T>
friend class Vector< T > [friend]

Member Data Documentation

template<typename T>
T Math::Point< T >::e[3] [private]
template<typename T>
const Point< T > Math::Point< T >::Epsilon [static]
template<typename T>
const Point< T > Math::Point< T >::Max [static]
template<typename T>
const Point< T > Math::Point< T >::Min [static]
template<typename T>
const Point< T > Math::Point< T >::One [static]
template<typename T>
const Point< T > Math::Point< T >::Zero [static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends