P::Vector2 Class Reference

#include <Vector2.hh>

List of all members.

Public Member Functions

double Length () const
double LengthSquare () const
double Norm () const
Vector2 Normal ()
Vector2 NormalAntiClockwise ()
Vector2 NormalClockwise ()
void Normalise ()
double NormSquare () const
Vector2operator*= (double s)
Vector2operator+= (const Vector2 &v)
Vector2operator-= (const Vector2 &v)
Vector2operator/= (double s) throw (Except)
void Set (double xi, double yi)
 Vector2 (double xx, double yy)
 Vector2 ()

Public Attributes

double x
double y

Detailed Description

2D vector class.

Definition at line 21 of file Vector2.hh.

Constructor & Destructor Documentation

P::Vector2::Vector2 (  ) 
P::Vector2::Vector2 ( double  xx,
double  yy 

Member Function Documentation

double P::Vector2::Length (  )  const
double P::Vector2::LengthSquare (  )  const
double P::Vector2::Norm (  )  const
Vector2 P::Vector2::Normal (  ) 
Vector2 P::Vector2::NormalAntiClockwise (  ) 
Vector2 P::Vector2::NormalClockwise (  ) 
void P::Vector2::Normalise (  ) 
double P::Vector2::NormSquare (  )  const
Vector2& P::Vector2::operator*= ( double  s  ) 
Vector2& P::Vector2::operator+= ( const Vector2 v  ) 
Vector2& P::Vector2::operator-= ( const Vector2 v  ) 
Vector2& P::Vector2::operator/= ( double  s  )  throw (Except)
void P::Vector2::Set ( double  xi,
double  yi 
) [inline]

Definition at line 29 of file Vector2.hh.

Member Data Documentation

double P::Vector2::x

Definition at line 24 of file Vector2.hh.

double P::Vector2::y

Definition at line 25 of file Vector2.hh.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:58 2013