|
Files
Class List
Class Members
Class Hierarchy
|
|
cySpatialVector6f Class Reference#include <cySpatial.h>
List of all members.
Detailed Description
6D spatial vector (for 3D).
This class is both for spatial motion vectors and spatial force vectors.
|
Public Member Functions |
|
|
| cySpatialVector6f (const cyPoint3f &p1, const cyPoint3f &p2) |
|
| cySpatialVector6f (float a1, float a2, float a3, float b1, float b2, float b3) |
|
| cySpatialVector6f (const cySpatialVector6f &v) |
|
|
void | Set (const cyPoint3f &p1, const cyPoint3f &p2) |
|
void | Set (float a1, float a2, float a3, float b1, float b2, float b3) |
|
void | Zero () |
|
|
void | SetTranspose () |
|
cySpatialVector6f | Transpose () const |
|
|
cySpatialVector6f | operator- () const |
|
|
cySpatialVector6f | operator+ (const cySpatialVector6f &s) const |
|
cySpatialVector6f | operator- (const cySpatialVector6f &s) const |
|
cySpatialVector6f | operator * (float t) const |
| float | operator * (const cySpatialVector6f &s) const |
| | Scalar product of two vectors.
|
|
|
void | operator= (const cySpatialVector6f &v) |
|
void | operator+= (const cySpatialVector6f &s) |
|
void | operator-= (const cySpatialVector6f &s) |
|
void | operator *= (float t) |
Public Attributes |
|
cyPoint3f | a |
|
cyPoint3f | b |
Member Function Documentation
|
|
Scalar product of two vectors.
Note that one of the vectors should be motion vector ant the other should be a force vector. Otherwise, scalar product is not defined in spatial vector algebra. |
|