Inkscape
Vector Graphics Editor
|
A bounding box, represented by the top-left and bottom-right corners. More...
#include <geomtypes.h>
Public Member Functions | |
double | length (size_t dimension) const |
double | width (void) const |
double | height (void) const |
Public Attributes | |
Point | min |
The top-left point. | |
Point | max |
The bottom-right point. | |
A bounding box, represented by the top-left and bottom-right corners.
Definition at line 133 of file geomtypes.h.
double Avoid::Box::height | ( | void | ) | const |
Definition at line 249 of file geomtypes.cpp.
References max, min, and Avoid::Point::y.
Referenced by Avoid::ShapeConnectionPin::commonInitForShapeConnection(), and Avoid::ShapeConnectionPin::position().
double Avoid::Box::length | ( | size_t | dimension | ) | const |
Definition at line 235 of file geomtypes.cpp.
References max, min, Avoid::Point::x, and Avoid::Point::y.
Referenced by Avoid::absoluteOffsetInverse().
double Avoid::Box::width | ( | void | ) | const |
Definition at line 244 of file geomtypes.cpp.
References max, min, and Avoid::Point::x.
Referenced by Avoid::ShapeConnectionPin::commonInitForShapeConnection(), and Avoid::ShapeConnectionPin::position().
Point Avoid::Box::max |
The bottom-right point.
Definition at line 139 of file geomtypes.h.
Referenced by Avoid::PolygonInterface::boundingRectPolygon(), Avoid::buildOrthogonalChannelInfo(), height(), length(), Avoid::Node::Node(), Avoid::PolygonInterface::offsetBoundingBox(), Avoid::Router::outputDiagramSVG(), Avoid::Router::outputDiagramText(), Avoid::HyperedgeImprover::outputHyperedgesToSVG(), Avoid::Router::outputInstanceToSVG(), Avoid::ShapeConnectionPin::position(), Avoid::ShapeRef::position(), Avoid::Obstacle::shapeCentre(), and width().
Point Avoid::Box::min |
The top-left point.
Definition at line 137 of file geomtypes.h.
Referenced by Avoid::PolygonInterface::boundingRectPolygon(), Avoid::buildOrthogonalChannelInfo(), height(), length(), Avoid::Node::Node(), Avoid::PolygonInterface::offsetBoundingBox(), Avoid::Router::outputDiagramSVG(), Avoid::Router::outputDiagramText(), Avoid::HyperedgeImprover::outputHyperedgesToSVG(), Avoid::Router::outputInstanceToSVG(), Avoid::ShapeConnectionPin::position(), Avoid::ShapeRef::position(), Avoid::Obstacle::shapeCentre(), and width().