OpenArena::Vec2i Class Reference

Write brief comment for Vec2i here. More...

#include <vector.h>

List of all members.

Public Member Functions

 Vec2i ()
 Write brief comment for Vec2i here.
 Vec2i (const Vec2i &)
 Write brief comment for Vec2i here. Write brief comment for Vec2i here.
 Vec2i (int)
 Vec2i (int, int)
 Write brief comment for Vec2i here.
int lengthsquared () const
 Write brief comment for lengthsquared here.
int length () const
 Write brief comment for length here.
void normalize ()
 Write brief comment for normalize here.
Vec2i normalized () const
 Write brief comment for normalized here.
Vec2i cross (const Vec2i &) const
 Write brief comment for cross here.
Vec2i operator= (const Vec2i &)
 Write brief comment for operator = here.
Vec2i operator * (const Vec2i &) const
 Write brief comment for operator * here.
Vec2i operator+ (const Vec2i &) const
 Write brief comment for operator + here.
Vec2i operator- (const Vec2i &) const
 Write brief comment for operator - here.
Vec2i operator * (int) const
 Write brief comment for operator * here.
Vec2i operator/ (int) const
 Write brief comment for operator / here.
bool operator== (const Vec2i &) const
 Write brief comment for operator == here.
bool operator!= (const Vec2i &) const
 Write brief comment for operator != here.

Public Attributes

int x
int y


Detailed Description

Write brief comment for Vec2i here.

Write detailed description for Vec2i here.

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


Constructor & Destructor Documentation

OpenArena::Vec2i::Vec2i (  ) 

Write brief comment for Vec2i here.

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

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

OpenArena::Vec2i::Vec2i ( const Vec2i  ) 

Write brief comment for Vec2i here. Write brief comment for Vec2i here.

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

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

OpenArena::Vec2i::Vec2i ( int   ) 

OpenArena::Vec2i::Vec2i ( int  ,
int   
)

Write brief comment for Vec2i here.

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

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


Member Function Documentation

Vec2i OpenArena::Vec2i::cross ( const Vec2i  )  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.

int OpenArena::Vec2i::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.

int OpenArena::Vec2i::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::Vec2i::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.

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

Vec2i OpenArena::Vec2i::operator * ( int   )  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.

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

bool OpenArena::Vec2i::operator!= ( const Vec2i  )  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.

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

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

Vec2i OpenArena::Vec2i::operator/ ( int   )  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.

Vec2i OpenArena::Vec2i::operator= ( const Vec2i  ) 

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.

bool OpenArena::Vec2i::operator== ( const Vec2i  )  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.


Member Data Documentation

int OpenArena::Vec2i::x

int OpenArena::Vec2i::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