14 #ifndef _BOARD_RECT_H_
15 #define _BOARD_RECT_H_
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 ) { }
59 Rect
operator||(
const Rect & rectA,
const Rect & rectB );
69 Rect
operator&&(
const Rect & rectA,
const Rect & rectB );
std::ostream & operator<<(std::ostream &out, const ATu0v1< TKSpace, TLinearAlgebra > &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)