VISH
0.2
|
A three-dimensional Bi-Vector which is span by two vectors to define a plane. More...
#include </home/werner/origo/vish/ocean/eagle/PhysicalSpace.hpp>
A three-dimensional Bi-Vector which is span by two vectors to define a plane.
It is represented by three numbers, like a vector, but has different algebraic properties.
Bi-vectors are useful specify rotations. The sum of a bivector and a scalar yields a rotor, which can be applied to any object such as a vector (sweeping a direction) or another bivector (sweeping a plane).
A bi-vector is constructed from two vectors:
The wedge operator of two vectors also yields a bi-vector and is the same operation:
Alternatively the bivector can be setup by explicit specification of its component, which corresponds to a normal vector. Given a bivector, the associated normal vector can be retrieved using the star operator: