30 #ifndef __CLAW_VECTOR_2D_HPP__
31 #define __CLAW_VECTOR_2D_HPP__
77 #endif // __CLAW_VECTOR_2D_HPP__
value_type value_type
The type of the values we store.
Coordinates in a two dimensional space.
self_type get_orthonormal_anticlockwise() const
Get a vector orthonormal to this vector.
value_type dot_product(const self_type &vect) const
Dot product.
coordinate_2d< value_type > super
The type of the parent class.
Coordinates in a two dimensional space.
void normalize()
Normalize the vector.
T value_type
The type of the values we store.
self_type get_orthonormal_clockwise() const
Get a vector orthonormal to this vector.
value_type length() const
Gets vector length.
vector_2d< value_type > self_type
The type of the current class.
Implementation of claw::math::vector_2d class.