Robotsystem of the Robot Group Leipzig: Position Class Reference

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Position Class Reference

`#include <position.h>`

List of all members.

## Public Member Functions
| Position ()
| Position (double _x, double _y, double _z)
| Position (const double *p)
| p MUST have a size of at least 3
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

Examples:

  integration/main.cpp.

## 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:

- position.h