|
wxMathPlot - Plot Library for wxWidgets Applications
|
Define a simple rectangular box X refer to X axis Y refer to Y axis. More...
#include <mathplot.h>
Public Member Functions | |
| mpFloatRectSimple (const mpRange< double > x_, const mpRange< double > y_) | |
| Construct a simple rectangular box. | |
| bool | PointIsInside (const double px, const double py) const |
| Is point inside this bounding box? | |
| void | UpdateBoundingBoxToInclude (const double px, const double py) |
| Update bounding box (X and Y axis) to include this point. | |
| void | InitializeBoundingBox (const double px, const double py) |
| Initialize bounding box with an initial point. | |
Public Attributes | |
| mpRange< double > | x |
| range over x direction | |
| mpRange< double > | y |
| range over y direction | |
Define a simple rectangular box X refer to X axis Y refer to Y axis.
|
inline |
Construct a simple rectangular box.
| x_ | range over x direction |
| y_ | range over y direction |
|
inline |
Initialize bounding box with an initial point.
| px | point on x-axis |
| py | point on y-axis |
|
inline |
Is point inside this bounding box?
| px | point on x-axis |
| py | point on y-axis |
|
inline |
Update bounding box (X and Y axis) to include this point.
Expand the range to include the point.
| px | point on x-axis |
| py | point on y-axis |