World of Rigid Bodies (WoRB)
|
Encapsulates a spatial vector. More...
#include <Quaternion.h>
Public Member Functions | |
SpatialVector (double x, double y, double z) | |
Creates a spatial vector with the given components. |
Encapsulates a spatial vector.
Spatial vector is a pure imaginary quaternion (with the imaginary part only).
Definition at line 384 of file Quaternion.h.
WoRB::SpatialVector::SpatialVector | ( | double | x, |
double | y, | ||
double | z | ||
) | [inline] |
Creates a spatial vector with the given components.
Definition at line 390 of file Quaternion.h.
: Quaternion( 0, x, y, z ) { }