OpenArena::Vec2f Class Reference

Write brief comment for Vec2f here. More...

#include <vector.h>

List of all members.

Public Member Functions

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

Public Attributes

float x
float y


Detailed Description

Write brief comment for Vec2f here.

Write detailed description for Vec2f here.

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


Constructor & Destructor Documentation

OpenArena::Vec2f::Vec2f (  ) 

Write brief comment for Vec2f here.

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

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

OpenArena::Vec2f::Vec2f ( const Vec2f  ) 

Write brief comment for Vec2f here.

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

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

OpenArena::Vec2f::Vec2f ( double   ) 

Write brief comment for Vec2f here.

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

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

OpenArena::Vec2f::Vec2f ( double  ,
double   
)

Write brief comment for Vec2f here.

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

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


Member Function Documentation

Vec2f OpenArena::Vec2f::cross ( const Vec2f  )  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::Vec2f::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::Vec2f::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::Vec2f::normalize (  ) 

Vec2f OpenArena::Vec2f::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.

Vec2f OpenArena::Vec2f::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.

Vec2f OpenArena::Vec2f::operator * ( const Vec2f  )  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.

Vec2f OpenArena::Vec2f::operator+ ( const Vec2f  )  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.

Vec2f OpenArena::Vec2f::operator- ( const Vec2f  )  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.

Vec2f OpenArena::Vec2f::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.

Vec2f OpenArena::Vec2f::operator= ( const Vec2f  ) 

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.


Member Data Documentation

float OpenArena::Vec2f::x

float OpenArena::Vec2f::y


The documentation for this class was generated from the following files:
Generated on Tue Jul 11 00:17:59 2006 for OpenArena by  doxygen 1.4.7