#include <Vector3.h>
Inheritance diagram for Physsim::Vector3:

Public Member Functions | |
| Vector3 () | |
| Default constructor -- vector will be uninitialized. | |
| Vector3 (Real x, Real y, Real z) | |
| Constructs this vector with the given values. | |
| Vector3 (const boost::shared_array< Real > array) | |
| Constructs this vector from the given array. | |
| Vector3 (const Vector3 &source) | |
| Copy constructor. | |
| Vector3 (const VectorN &source) | |
| Copy constructor. | |
| void | cross (const Vector3 &v) |
| Computes the cross-product between this vector and another and stores the result in this. | |
| void | operator= (const Vector3 &source) |
| virtual void | operator= (const VectorN &source) |
Static Public Member Functions | |
| static Vector3 | cross (const Vector3 &v1, const Vector3 &v2) |
| Computes the cross-product of two vectors. | |
| static void | det_orthonormal_basis (const Vector3 &v1, Vector3 &v2, Vector3 &v3) |
| Computes an orthonormal basis, given a single vector. | |
| Vector3::Vector3 | ( | const boost::shared_array< Real > | array | ) |
Constructs this vector from the given array.
| array | a 3-dimensional (or larger) array |
| Vector3::Vector3 | ( | const VectorN & | source | ) |
Copy constructor.
| source | a 3-dimensional vector |
| void Vector3::cross | ( | const Vector3 & | v | ) |
Computes the cross-product between this vector and another and stores the result in this.
Order of operator: *this x v
Computes an orthonormal basis, given a single vector.
1.5.1