Robot Simulator of the Robotics Group for Self-Organization of Control  0.8.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Position Class Reference

#include <position.h>

Public Member Functions

 Position ()
 
 Position (double _x, double _y, double _z)
 
 Position (const double *p)
 p MUST have a size of at least 3 More...
 
const double * toArray ()
 
Position operator+ (const Position &sum) const
 
Position operator- (const Position &sum) const
 
Position operator* (double f) const
 
double length ()
 
void print ()
 

Public Attributes

double x
 
double y
 
double z
 

Detailed Description

Constructor & Destructor Documentation

Position ( )
inline
Position ( double  _x,
double  _y,
double  _z 
)
inline
Position ( const double *  p)
inline

p MUST have a size of at least 3

Member Function Documentation

double length ( )
inline
Position operator* ( double  f) const
inline
Position operator+ ( const Position sum) const
inline
Position operator- ( const Position sum) const
inline
void print ( )
inline
const double* toArray ( )
inline

Member Data Documentation

double x
double y
double z

The documentation for this class was generated from the following file: