Go to the documentation of this file.
31 #ifndef __CLAW_RECTANGLE_HPP__
32 #define __CLAW_RECTANGLE_HPP__
82 bool operator==(
const self_type& that )
const;
83 bool operator!=(
const self_type& that )
const;
87 bool includes(
const self_type& r )
const;
88 bool intersects(
const self_type& r )
const;
120 #include <claw/impl/rectangle.tpp>
122 #endif // __CLAW_RECTANGLE_HPP__
coordinate_2d< value_type > position
value_typeop left coordinates.
A rectangle represented by two points in a 2D space.
This is the main namespace.
A rectangle represented by two points in a 2D space.
A class representing a rectangle by his x,y coordinates, width and height.
Coordinates in a two dimensional space.
Coordinates in a two dimensional space.
T value_type
The type of the values we store.
rectangle< value_type > self_type
The type of the current class.