Robot Simulator of the Robotics Group for Self-Organization of Control: Pos Class Reference

# Pos Class Reference

`#include <pos.h>`

List of all members.

## Public Member Functions
| Pos ()
| Pos (float x, float y, float z)
| Pos (const osg::Vec3 &v)
| Pos (const osg::Vec4 &v)
| Pos (const Position &p)
| Pos (const dReal v[3])
Pos | operator* (double f) const
| scaling
double | operator* (const Pos &p) const
| scalar product
Pos | operator& (const Pos &p) const
| componentwise product
Position | toPosition ()
void | print () const

## Detailed Description

Examples:

  template_sphererobot/main.cpp.

## Constructor & Destructor Documentation

Pos | ( |  | ) | `[inline]`

Pos | ( | float | x,
|  | float | y,
|  | float | z |
| ) |  |  | `[inline]`

Pos | ( | const osg::Vec3 & | v | ) | `[inline]`

Pos | ( | const osg::Vec4 & | v | ) | `[inline]`

Pos | ( | const Position & | p | ) | `[inline]`

Pos | ( | const dReal | v[3] | ) | `[inline]`

## Member Function Documentation

Pos operator& | ( | const Pos & | p | ) | const`[inline]`

componentwise product

double operator* | ( | const Pos & | p | ) | const`[inline]`

scalar product

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

scaling

void print | ( |  | ) | const`[inline]`

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

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

- pos.h