Robotsystem from Robot Group Leipzig: Position Class Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

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

# Position Class Reference

`#include <position.h>`

List of all members.

## Detailed Description

Examples:

  nimm2.cpp.

Definition at line 35 of file 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
const double * | toArray ()
Position | operator+ (const Position &sum) const
Position | operator- (const Position &sum) const
Position | operator * (double f) const
double | length ()
## Public Attributes
double | x
double | y
double | z

## Constructor & Destructor Documentation

Position | ( |  | ) | `[inline]`

| Definition at line 38 of file position.h.

Position | ( | double | _x,
|  | double | _y,
|  | double | _z
| ) | `[inline]`

| Definition at line 39 of file position.h.

Position | ( | const double * | p | ) | `[inline]`

| p MUST have a size of at least 3 Definition at line 41 of file position.h.

## Member Function Documentation

double length | ( |  | ) | `[inline]`

| Definition at line 49 of file position.h.

Position operator * | ( | double | f | ) | const`[inline]`

| Definition at line 47 of file position.h.

Position operator+ | ( | const Position & | sum | ) | const`[inline]`

| Definition at line 43 of file position.h.

Position operator- | ( | const Position & | sum | ) | const`[inline]`

| Definition at line 45 of file position.h.

const double* toArray | ( |  | ) | `[inline]`

| Definition at line 42 of file position.h.

## Member Data Documentation

double x

| Definition at line 51 of file position.h.

double y

| Definition at line 52 of file position.h.

double z

| Definition at line 53 of file position.h.