30 #ifndef __CLAW_BOX_2D_HPP__ 31 #define __CLAW_BOX_2D_HPP__ 75 bool includes(
const self_type& r )
const;
76 bool intersects(
const self_type& r )
const;
107 bool operator==(
const self_type& vect)
const;
108 bool operator!=(
const self_type& vect)
const;
129 #include <claw/impl/box_2d.tpp> 131 #endif // __CLAW_BOX_2D_HPP__ point_type first_point
The first of the two points, representing one corner.
Coordinates in a two dimensional space.
box_2d< value_type > self_type
The type of the current class.
A class representing a rectangle by his x,y coordinates, width and height.
coordinate_2d< value_type > point_type
The type of the coordinates of the points representing the corners.
T value_type
The type of the values we store.
point_type second_point
The second of the two points, representing an other corner.
A rectangle represented by two points in a 2D space.
This is the main namespace.