Belle II Software development
|
A class to represent an 2D area. More...
#include <Area2D.h>
Public Member Functions | |
TRGArea2D (const TRGPoint2D &leftBottom, const TRGPoint2D &rightUpper) | |
Contructor. | |
virtual | ~TRGArea2D () |
Destructor. | |
bool | inArea (const TRGPoint2D &x) const |
returns true if give point is in the area. | |
void | cross (const TRGPoint2D &x0, const TRGPoint2D &x1, unsigned &nFound, TRGPoint2D crossPoint[2]) const |
returns cross-points. | |
Private Attributes | |
TRGPoint2D | _c [2] |
2D points | |
|
private |