30 #ifndef __CLAW_VECTOR_2D_HPP__
31 #define __CLAW_VECTOR_2D_HPP__
62 vector_2d(
const value_type& _x,
const value_type& _y);
64 value_type length()
const;
66 self_type get_orthonormal_clockwise()
const;
67 self_type get_orthonormal_anticlockwise()
const;
69 value_type dot_product(
const self_type& vect)
const;
75 #include <claw/impl/vector_2d.tpp>
77 #endif // __CLAW_VECTOR_2D_HPP__
Coordinates in a two dimensional space.
coordinate_2d< value_type > super
The type of the parent class.
Coordinates in a two dimensional space.
T value_type
The type of the values we store.
vector_2d< value_type > self_type
The type of the current class.
This is the main namespace.