Homogenous vector.
More...
#include <vecmath.h>
Homogenous vector.
Definition at line 57 of file vecmath.h.
◆ CVec() [1/2]
| robotLibPbD::CVec::CVec |
( |
| ) |
|
|
inline |
◆ CVec() [2/2]
◆ length()
| PRECISION robotLibPbD::CVec::length |
( |
| ) |
const |
|
inline |
◆ normalize()
| void robotLibPbD::CVec::normalize |
( |
| ) |
|
|
inline |
◆ operator*()
Scalar multiplication.
Definition at line 76 of file vecmath.h.
◆ operator*=()
◆ operator+()
| CVec robotLibPbD::CVec::operator+ |
( |
const CVec & |
v | ) |
const |
|
inline |
◆ operator+=()
| CVec& robotLibPbD::CVec::operator+= |
( |
const CVec & |
v | ) |
|
|
inline |
◆ operator-() [1/2]
| CVec robotLibPbD::CVec::operator- |
( |
const CVec & |
v | ) |
const |
|
inline |
Vector difference.
Definition at line 144 of file vecmath.h.
◆ operator-() [2/2]
| CVec robotLibPbD::CVec::operator- |
( |
| ) |
const |
|
inline |
◆ operator-=()
| CVec& robotLibPbD::CVec::operator-= |
( |
const CVec & |
v | ) |
|
|
inline |
◆ operator/()
◆ operator/=()
◆ operator=()
| CVec& robotLibPbD::CVec::operator= |
( |
const CVec & |
v | ) |
|
|
inline |
Assigns values of vector v to vector.
Definition at line 86 of file vecmath.h.
◆ operator[]() [1/2]
| PRECISION robotLibPbD::CVec::operator[] |
( |
unsigned int |
i | ) |
const |
|
inline |
Array access (read)
Definition at line 93 of file vecmath.h.
◆ operator[]() [2/2]
| PRECISION& robotLibPbD::CVec::operator[] |
( |
unsigned int |
i | ) |
|
|
inline |
Array access (write)
Definition at line 99 of file vecmath.h.
◆ operator^()
| CVec robotLibPbD::CVec::operator^ |
( |
const CVec & |
v | ) |
const |
|
inline |
◆ operator|()
◆ print()
| void robotLibPbD::CVec::print |
( |
| ) |
const |
Prints vector as (x,y,z) to console.
Definition at line 60 of file vecmath.cpp.
◆ set()
◆ toString()
| std::string robotLibPbD::CVec::toString |
( |
| ) |
|
The documentation for this class was generated from the following files: