OpenArena::Vec3d Class Reference

Write brief comment for Vec3d here. More...

#include <vector.h>

List of all members.

Public Member Functions

 Vec3d ()
 Write brief comment for Vec3d here.
 Vec3d (const Vec3d &)
 Write brief comment for Vec3d here.
 Vec3d (double, double)
 Write brief comment for Vec3d here.
 Vec3d (double, double, double)
 Write brief comment for Vec3d here.
double lengthsquared () const
 Write brief comment for lengthsquared here.
double length () const
 Write brief comment for length here.
void normalize ()
 Write brief comment for normalize here.
Vec3d normalized () const
 Write brief comment for normalized here.
Vec3d cross (const Vec3d &) const
 Write brief comment for cross here.
void operator= (const Vec3d &)
 Write brief comment for operator = here.
Vec3d operator * (const Vec3d &) const
 Write brief comment for operator * here.
Vec3d operator+ (const Vec3d &) const
 Write brief comment for operator + here.
Vec3d operator- (const Vec3d &) const
 Write brief comment for operator - here.
Vec3d operator * (double) const
 Write brief comment for operator * here.
Vec3d operator/ (double) const
 Write brief comment for operator / here.

Public Attributes

double x
double y
double z


Detailed Description

Write brief comment for Vec3d here.

Write detailed description for Vec3d here.

Remarks:
Write remarks for Vec3d here.
See also:
Separate items with the '|' character.


Constructor & Destructor Documentation

OpenArena::Vec3d::Vec3d (  ) 

Write brief comment for Vec3d here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Vec3d here.

Remarks:
Write remarks for Vec3d here.
See also:
Separate items with the '|' character.

OpenArena::Vec3d::Vec3d ( const Vec3d  ) 

Write brief comment for Vec3d here.

Parameters:
Description of parameter .
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Vec3d here.

Remarks:
Write remarks for Vec3d here.
See also:
Separate items with the '|' character.

OpenArena::Vec3d::Vec3d ( double  ,
double   
)

Write brief comment for Vec3d here.

Parameters:
Description of parameter .
Description of parameter .
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Vec3d here.

Remarks:
Write remarks for Vec3d here.
See also:
Separate items with the '|' character.

OpenArena::Vec3d::Vec3d ( double  ,
double  ,
double   
)

Write brief comment for Vec3d here.

Parameters:
Description of parameter .
Description of parameter .
Description of parameter .
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for Vec3d here.

Remarks:
Write remarks for Vec3d here.
See also:
Separate items with the '|' character.


Member Function Documentation

Vec3d OpenArena::Vec3d::cross ( const Vec3d  )  const

Write brief comment for cross here.

Parameters:
Description of parameter .
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for cross here.

Remarks:
Write remarks for cross here.
See also:
Separate items with the '|' character.

double OpenArena::Vec3d::length (  )  const

Write brief comment for length here.

Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for length here.

Remarks:
Write remarks for length here.
See also:
Separate items with the '|' character.

double OpenArena::Vec3d::lengthsquared (  )  const

Write brief comment for lengthsquared here.

Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for lengthsquared here.

Remarks:
Write remarks for lengthsquared here.
See also:
Separate items with the '|' character.

void OpenArena::Vec3d::normalize (  ) 

Write brief comment for normalize here.

Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for normalize here.

Remarks:
Write remarks for normalize here.
See also:
Separate items with the '|' character.

Vec3d OpenArena::Vec3d::normalized (  )  const

Write brief comment for normalized here.

Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for normalized here.

Remarks:
Write remarks for normalized here.
See also:
Separate items with the '|' character.

Vec3d OpenArena::Vec3d::operator * ( double   )  const

Write brief comment for operator * here.

Parameters:
Description of parameter .
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator * here.

Remarks:
Write remarks for operator * here.
See also:
Separate items with the '|' character.

Vec3d OpenArena::Vec3d::operator * ( const Vec3d  )  const

Write brief comment for operator * here.

Parameters:
Description of parameter .
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator * here.

Remarks:
Write remarks for operator * here.
See also:
Separate items with the '|' character.

Vec3d OpenArena::Vec3d::operator+ ( const Vec3d  )  const

Write brief comment for operator + here.

Parameters:
Description of parameter .
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator + here.

Remarks:
Write remarks for operator + here.
See also:
Separate items with the '|' character.

Vec3d OpenArena::Vec3d::operator- ( const Vec3d  )  const

Write brief comment for operator - here.

Parameters:
Description of parameter .
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator - here.

Remarks:
Write remarks for operator - here.
See also:
Separate items with the '|' character.

Vec3d OpenArena::Vec3d::operator/ ( double   )  const

Write brief comment for operator / here.

Parameters:
Description of parameter .
Returns:
Write description of return value here.
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator / here.

Remarks:
Write remarks for operator / here.
See also:
Separate items with the '|' character.

void OpenArena::Vec3d::operator= ( const Vec3d  ) 

Write brief comment for operator = here.

Parameters:
Description of parameter .
Exceptions:
<exception class> Description of criteria for throwing this exception.
Write detailed description for operator = here.

Remarks:
Write remarks for operator = here.
See also:
Separate items with the '|' character.


Member Data Documentation

double OpenArena::Vec3d::x

double OpenArena::Vec3d::y

double OpenArena::Vec3d::z


The documentation for this class was generated from the following files:
Generated on Mon Jul 10 21:41:13 2006 for OpenArena by  doxygen 1.4.7