|
MathPlot
|
Define a simple rectangular box X refer to X axis Y refer to Y axis. More...
#include <mathplot.h>

Public Member Functions | |
| mpFloatRectSimple (mpRange< double > _x, mpRange< double > _y) | |
| Construct a simple rectangular box. More... | |
| bool | PointIsInside (double px, double py) const |
| Is point inside this bounding box? More... | |
| void | UpdateBoundingBoxToInclude (double px, double py) |
| Update bounding box (X and Y axis) to include this point. More... | |
| void | InitializeBoundingBox (double px, double py) |
| Initialize bounding box with an initial point. More... | |
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.
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 |
1.8.13