DGtal
1.5.beta
|
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::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), LibBoard::operator||(), LibBoard::Board::saveCairo(), LibBoard::Board::saveEPS(), LibBoard::Board::saveSVG(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), LibBoard::TransformSVG::setBoundingBox(), and LibBoard::TransformCairo::setBoundingBox().
double LibBoard::Rect::left |
Coordinate of the left side.
Definition at line 28 of file Rect.h.
Referenced by LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), LibBoard::operator||(), LibBoard::Board::saveEPS(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), LibBoard::TransformSVG::setBoundingBox(), and LibBoard::TransformCairo::setBoundingBox().
double LibBoard::Rect::top |
Coordinate of the upper side.
Definition at line 29 of file Rect.h.
Referenced by LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), LibBoard::operator||(), LibBoard::Board::saveEPS(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), LibBoard::TransformSVG::setBoundingBox(), and LibBoard::TransformCairo::setBoundingBox().
double LibBoard::Rect::width |
Width of the rectangle.
Definition at line 30 of file Rect.h.
Referenced by LibBoard::Path::boundingBox(), LibBoard::Line::boundingBox(), LibBoard::Path::center(), LibBoard::Board::drawBoundingBox(), LibBoard::Group::flushFIG(), LibBoard::operator&&(), LibBoard::operator||(), LibBoard::Board::saveCairo(), LibBoard::Board::saveEPS(), LibBoard::Board::saveSVG(), LibBoard::TransformEPS::setBoundingBox(), LibBoard::TransformFIG::setBoundingBox(), LibBoard::TransformSVG::setBoundingBox(), and LibBoard::TransformCairo::setBoundingBox().