Files Class List
SpatialVector6f Class Reference

Detailed Description

6D spatial vector (for 3D) with float type elements

+ Inheritance diagram for SpatialVector6f:

Public Member Functions

Initialization methods
void Set (const Point3< float > &p1, const Point3< float > &p2)
 
void Set (float a1, float a2, float a3, float b1, float b2, float b3)
 
void Zero ()
 
Transpose methods
void SetTranspose ()
 
SpatialVector6 Transpose () const
 
Unary operators
SpatialVector6 operator- () const
 
Binary operators
SpatialVector6 operator- (const SpatialVector6 &s) const
 
SpatialVector6 operator+ (const SpatialVector6 &s) const
 
SpatialVector6 operator* (float t) const
 
float operator* (const SpatialVector6 &s) const
 
Assignment operators
void operator+= (const SpatialVector6 &s)
 
void operator-= (const SpatialVector6 &s)
 
void operator*= (float t)
 

Public Attributes

Components
Point3< float > a
 
Point3< float > b
 

Member Function Documentation

§ operator-()

SpatialVector6 operator- ( const SpatialVector6< float > &  s) const
inherited

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.

§ operator+()

SpatialVector6 operator+ ( const SpatialVector6< float > &  s) const
inherited

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.

§ operator*() [1/2]

SpatialVector6 operator* ( float  t) const
inherited

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.

§ operator*() [2/2]

float operator* ( const SpatialVector6< float > &  s) const
inherited

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.