MathPlot
Public Member Functions | Public Attributes | List of all members
mpFloatRectSimple Struct Reference

Define a simple rectangular box X refer to X axis Y refer to Y axis. More...

#include <mathplot.h>

Collaboration diagram for mpFloatRectSimple:
Collaboration graph
[legend]

Public Member Functions

 mpFloatRectSimple (mpRange _x, mpRange _y)
 
bool PointIsInside (double px, double py) const
 Is point inside this bounding box?
 
void UpdateBoundingBoxToInclude (double px, double py)
 
void InitializeBoundingBox (double px, double py)
 

Public Attributes

mpRange x
 
mpRange y
 

Detailed Description

Define a simple rectangular box X refer to X axis Y refer to Y axis.