World of Rigid Bodies (WoRB)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
WoRB::SpatialVector Class Reference

Encapsulates a spatial vector. More...

#include <Quaternion.h>

Inheritance diagram for WoRB::SpatialVector:
Collaboration diagram for WoRB::SpatialVector:

Public Member Functions

 SpatialVector (double x, double y, double z)
 Creates a spatial vector with the given components.

Detailed Description

Encapsulates a spatial vector.

Spatial vector is a pure imaginary quaternion (with the imaginary part only).

Definition at line 384 of file Quaternion.h.


Constructor & Destructor Documentation

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 )
        {
        }

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