7 #ifndef IMPALGEBRA_VECTOR_3D_H
8 #define IMPALGEBRA_VECTOR_3D_H
13 IMPALGEBRA_BEGIN_NAMESPACE
22 IMPALGEBRA_END_NAMESPACE
Vector3D get_orthogonal_vector(const Vector3D &v)
Return a vector that is perpendicular to the given vector.
Vector3D get_centroid(const Vector3Ds &ps)
Return the centroid of a set of vectors.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Vector3D get_vector_product(const Vector3D &p1, const Vector3D &p2)
Return the vector product (cross product) of two vectors.