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>
A rectangle represented by two points in a 2D space.
point_type second_point
The second of the two points, representing an other corner.
T value_type
The type of the values we store.
box_2d< value_type > self_type
The type of the current class.
coordinate_2d< value_type > point_type
The type of the coordinates of the points representing the corners.
point_type first_point
The first of the two points, representing one corner.
Coordinates in a two dimensional space.
A class representing a rectangle by his x,y coordinates, width and height.
Coordinates in a two dimensional space.
This is the main namespace.