DGtal 1.4.0
|
Struct representing a rectangle on the plane. More...
#include <Board/Rect.h>
Public Member Functions | |
Rect (double leftX=0.0f, double topY=0.0f, double rectWidth=0.0f, double rectHeight=0.0f) | |
Point | topLeft () |
Point | topRight () |
Point | bottomLeft () |
Point | bottomRight () |
Data Fields | |
double | left |
double | top |
double | width |
double | height |
Struct representing a rectangle on the plane.
The Rectangle structure.
|
inline |
|
inline |
|
inline |
|
inline |
double LibBoard::Rect::height |
Height of the rectangle.
Definition at line 31 of file Rect.h.
Referenced by LibBoard::Line::boundingBox(), LibBoard::Path::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), LibBoard::operator||(), LibBoard::Board::saveCairo(), LibBoard::Board::saveEPS(), LibBoard::Board::saveSVG(), LibBoard::TransformCairo::setBoundingBox(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), and LibBoard::TransformSVG::setBoundingBox().
double LibBoard::Rect::left |
Coordinate of the left side.
Definition at line 28 of file Rect.h.
Referenced by LibBoard::Line::boundingBox(), LibBoard::Path::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), LibBoard::operator||(), LibBoard::Board::saveEPS(), LibBoard::TransformCairo::setBoundingBox(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), and LibBoard::TransformSVG::setBoundingBox().
double LibBoard::Rect::top |
Coordinate of the upper side.
Definition at line 29 of file Rect.h.
Referenced by LibBoard::Line::boundingBox(), LibBoard::Path::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), LibBoard::operator||(), LibBoard::Board::saveEPS(), LibBoard::TransformCairo::setBoundingBox(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), and LibBoard::TransformSVG::setBoundingBox().
double LibBoard::Rect::width |
Width of the rectangle.
Definition at line 30 of file Rect.h.
Referenced by LibBoard::Line::boundingBox(), LibBoard::Path::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), LibBoard::operator||(), LibBoard::Board::saveCairo(), LibBoard::Board::saveEPS(), LibBoard::Board::saveSVG(), LibBoard::TransformCairo::setBoundingBox(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), and LibBoard::TransformSVG::setBoundingBox().