Fixed4dVector Class Template Reference

Inheritance diagram for Fixed4dVector:

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

Detailed Description

template<class T>
class Fixed4dVector< T >

Author:
Bill Smart

Version:
1.0
Date:
June 2005

Definition at line 808 of file Geometry.H.

Public Member Functions

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

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

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

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

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

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

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

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


Constructor & Destructor Documentation

Fixed4dVector (  )  [inline]

Definition at line 810 of file Geometry.H.

Fixed4dVector ( const T &  value  )  [inline]

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

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

Definition at line 813 of file Geometry.H.

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

Allocate a vector 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 819 of file Geometry.H.

References LocalArray::operator()().

Fixed4dVector ( const Fixed4dVector< T > &  vector  )  [inline]

Definition at line 825 of file Geometry.H.

~Fixed4dVector (  )  [inline]

Definition at line 826 of file Geometry.H.


Member Function Documentation

T& x (  )  [inline]

Returns:
The first element of the vector.

Definition at line 833 of file Geometry.H.

References LocalArray::operator()().

T& y (  )  [inline]

Returns:
The second element of the vector.

Definition at line 835 of file Geometry.H.

References LocalArray::operator()().

T& z (  )  [inline]

Returns:
The third element of the vector.

Definition at line 837 of file Geometry.H.

References LocalArray::operator()().

T& t (  )  [inline]

Returns:
The fourth element of the vector.

Definition at line 839 of file Geometry.H.

References LocalArray::operator()().

const T& x (  )  const [inline]

Returns:
The first element of the vector.

Definition at line 842 of file Geometry.H.

References LocalArray::operator()().

const T& y (  )  const [inline]

Returns:
The second element of the vector.

Definition at line 844 of file Geometry.H.

References LocalArray::operator()().

const T& z (  )  const [inline]

Returns:
The third element of the vector.

Definition at line 846 of file Geometry.H.

References LocalArray::operator()().

const T& t (  )  const [inline]

Returns:
The fourth element of the vector.

Definition at line 848 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