All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines
Public Member Functions | Protected Attributes
collvoid::Vector2 Class Reference

#include <Vector2.h>

List of all members.

Public Member Functions

double dist (const Vector2 &other) const
bool operator!= (const Vector2 &vector) const
const double & operator() (unsigned int i) const
double & operator() (unsigned int i)
double operator* (const Vector2 &other) const
Vector2 operator* (double x) const
void operator*= (double x)
Vector2 operator+ (const Vector2 &other) const
void operator+= (const Vector2 &other)
Vector2 operator- () const
Vector2 operator- (const Vector2 &other) const
void operator-= (const Vector2 &other)
Vector2 operator/ (double x) const
void operator/= (double x)
std::ostream & operator<< (std::ostream &os)
Vector2operator= (const Vector2 &other)
bool operator== (const Vector2 &other) const
 Vector2 ()
 Vector2 (const Vector2 &other)
 Vector2 (double x, double y)
double & x ()
const double & x () const
double & y ()
const double & y () const

Protected Attributes

double data [2]

Detailed Description

Definition at line 41 of file Vector2.h.


Constructor & Destructor Documentation

Definition at line 45 of file Vector2.h.

collvoid::Vector2::Vector2 ( const Vector2 other) [inline]

Definition at line 48 of file Vector2.h.

collvoid::Vector2::Vector2 ( double  x,
double  y 
) [inline]

Definition at line 53 of file Vector2.h.


Member Function Documentation

double collvoid::Vector2::dist ( const Vector2 other) const [inline]

Definition at line 173 of file Vector2.h.

bool collvoid::Vector2::operator!= ( const Vector2 vector) const [inline]

Definition at line 166 of file Vector2.h.

const double& collvoid::Vector2::operator() ( unsigned int  i) const [inline]

Definition at line 64 of file Vector2.h.

double& collvoid::Vector2::operator() ( unsigned int  i) [inline]

Definition at line 69 of file Vector2.h.

double collvoid::Vector2::operator* ( const Vector2 other) const [inline]

Definition at line 110 of file Vector2.h.

Vector2 collvoid::Vector2::operator* ( double  x) const [inline]

Definition at line 115 of file Vector2.h.

void collvoid::Vector2::operator*= ( double  x) [inline]

Definition at line 153 of file Vector2.h.

Vector2 collvoid::Vector2::operator+ ( const Vector2 other) const [inline]

Definition at line 102 of file Vector2.h.

void collvoid::Vector2::operator+= ( const Vector2 other) [inline]

Definition at line 137 of file Vector2.h.

Vector2 collvoid::Vector2::operator- ( ) const [inline]

Definition at line 94 of file Vector2.h.

Vector2 collvoid::Vector2::operator- ( const Vector2 other) const [inline]

Definition at line 129 of file Vector2.h.

void collvoid::Vector2::operator-= ( const Vector2 other) [inline]

Definition at line 143 of file Vector2.h.

Vector2 collvoid::Vector2::operator/ ( double  x) const [inline]

Definition at line 122 of file Vector2.h.

void collvoid::Vector2::operator/= ( double  x) [inline]

Definition at line 148 of file Vector2.h.

std::ostream& collvoid::Vector2::operator<< ( std::ostream &  os) [inline]

Definition at line 180 of file Vector2.h.

Vector2& collvoid::Vector2::operator= ( const Vector2 other) [inline]

Definition at line 58 of file Vector2.h.

bool collvoid::Vector2::operator== ( const Vector2 other) const [inline]

Definition at line 158 of file Vector2.h.

double& collvoid::Vector2::x ( ) [inline]

Definition at line 74 of file Vector2.h.

const double& collvoid::Vector2::x ( ) const [inline]

Definition at line 84 of file Vector2.h.

double& collvoid::Vector2::y ( ) [inline]

Definition at line 79 of file Vector2.h.

const double& collvoid::Vector2::y ( ) const [inline]

Definition at line 89 of file Vector2.h.


Member Data Documentation

double collvoid::Vector2::data[2] [protected]

Definition at line 187 of file Vector2.h.


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


collvoid_local_planner
Author(s): Daniel Claes
autogenerated on Sun Aug 25 2013 10:10:23