18#include "Board/Point.h"
42 Rect(
double leftX = 0.0f,
double topY = 0.0f,
double rectWidth = 0.0f,
double rectHeight = 0.0f )
43 :left( leftX ), top( topY ), width( rectWidth ), height( rectHeight ) { }
59Rect
operator||(
const Rect & rectA,
const Rect & rectB );
69Rect
operator&&(
const Rect & rectA,
const Rect & rectB );
std::ostream & operator<<(std::ostream &out, const ClosedIntegerHalfPlane< TSpace > &object)
Rect operator&&(const Rect &rectA, const Rect &rectB)
Rect operator||(const Rect &rectA, const Rect &rectB)
Struct representing a 2D point.
Struct representing a rectangle on the plane.
Rect(double leftX=0.0f, double topY=0.0f, double rectWidth=0.0f, double rectHeight=0.0f)