Fixed4dPoint Class Template Reference

Inheritance diagram for Fixed4dPoint:

FixedNdPoint< T, 4 > LocalArray List of all members.

Detailed Description

template<class T>
class Fixed4dPoint< T >

Author:
Bill Smart

Version:
1.0
Date:
June 2005

Definition at line 756 of file Geometry.H.

Public Member Functions

 Fixed4dPoint ()
 Fixed4dPoint (const T &value)
 Allocate a point and set the values of its elements to value.
 Fixed4dPoint (const T &x, const T &y, const T &z, const T &t)
 Allocate a point and set the values of its elements.
 Fixed4dPoint (const Fixed4dPoint< T > &point)
 ~Fixed4dPoint ()
Element access
T & x ()
 
Returns:
The first element of the point.

T & y ()
 
Returns:
The second element of the point.

T & z ()
 
Returns:
The third element of the point.

T & t ()
 
Returns:
The fourth element of the point.

const T & x () const
 
Returns:
The first element of the point.

const T & y () const
 
Returns:
The second element of the point.

const T & z () const
 
Returns:
The third element of the point.

const T & t () const
 
Returns:
The fourth element of the point.


Constructor & Destructor Documentation

Fixed4dPoint (  )  [inline]

Definition at line 758 of file Geometry.H.

Fixed4dPoint ( const T &  value  )  [inline]

Allocate a point and set the values of its elements to value.

Parameters:
[in] value The initial value of the point elements.

Definition at line 761 of file Geometry.H.

Fixed4dPoint ( const T &  x,
const T &  y,
const T &  z,
const T &  t 
) [inline]

Allocate a point and set the values of its elements.

Parameters:
[in] x The initial value of the first element.
[in] y The initial value of the second element.
[in] z The initial value of the third element.
[in] t The initial value of the fourth element.

Definition at line 767 of file Geometry.H.

References LocalArray::operator()().

Fixed4dPoint ( const Fixed4dPoint< T > &  point  )  [inline]

Definition at line 773 of file Geometry.H.

~Fixed4dPoint (  )  [inline]

Definition at line 774 of file Geometry.H.


Member Function Documentation

T& x (  )  [inline]

Returns:
The first element of the point.

Definition at line 781 of file Geometry.H.

References LocalArray::operator()().

T& y (  )  [inline]

Returns:
The second element of the point.

Definition at line 783 of file Geometry.H.

References LocalArray::operator()().

T& z (  )  [inline]

Returns:
The third element of the point.

Definition at line 785 of file Geometry.H.

References LocalArray::operator()().

T& t (  )  [inline]

Returns:
The fourth element of the point.

Definition at line 787 of file Geometry.H.

References LocalArray::operator()().

const T& x (  )  const [inline]

Returns:
The first element of the point.

Definition at line 790 of file Geometry.H.

References LocalArray::operator()().

const T& y (  )  const [inline]

Returns:
The second element of the point.

Definition at line 792 of file Geometry.H.

References LocalArray::operator()().

const T& z (  )  const [inline]

Returns:
The third element of the point.

Definition at line 794 of file Geometry.H.

References LocalArray::operator()().

const T& t (  )  const [inline]

Returns:
The fourth element of the point.

Definition at line 796 of file Geometry.H.

References LocalArray::operator()().


The documentation for this class was generated from the following file:
Generated on Thu Feb 1 15:31:55 2007 for WURDE by  doxygen 1.5.1