24 #ifndef __GEOMETRY_HOM_VECTOR_H_ 25 #define __GEOMETRY_HOM_VECTOR_H_ 27 #include <geometry/hom_coord.h> virtual float y() const
RO-getter for y.
float angle_xy(const HomVector &h) const
Compute the angle between two vectors.
Fawkes library namespace.
HomVector & set_length(float length)
Scales the vector such that it has the given length.
HomVector & unit()
Brings the vector to unit-length.
HomVector(float x=0, float y=0, float z=0)
Constructor.
float length() const
Calculates the length of the vector.
float length_square() const
Calculates the squared length length of the vector (faster than length.
virtual float z() const
RO-getter for z.
Base class for homogeneous primitives (vector and point).
virtual ~HomVector()
Destructor.
virtual float x() const
RO-getter for x.