30 #ifndef __CLAW_COORDINATE_2D_HPP__ 31 #define __CLAW_COORDINATE_2D_HPP__ 65 void rotate(
const self_type& center,
double angle );
66 double slope_angle(
const self_type& to )
const;
68 bool operator==(
const self_type& vect)
const;
69 bool operator!=(
const self_type& vect)
const;
92 template<
typename T,
typename U>
98 #include <claw/impl/coordinate_2d.tpp> 100 #endif // __CLAW_COORDINATE_2D_HPP__ T value_type
The type of the values we store.
coordinate_2d< value_type > self_type
The type of the current class.
Coordinates in a two dimensional space.
value_type y
Y-coordinate.
This is the main namespace.
value_type x
X-coordinate.