#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/simulation/g4main/PHBBox.h>
|
| PHBBox (const double x0, const double y0, const double x1, const double y1) |
| Construct with the boundaries in x and y. More...
|
|
bool | ClipLine (double &x0, double &y0, double &x1, double &y1) const |
|
void | Print (std::ostream &os=std::cout) |
|
Definition at line 10 of file PHBBox.h.
◆ PHBBox()
PHBBox::PHBBox |
( |
const double |
x0, |
|
|
const double |
y0, |
|
|
const double |
x1, |
|
|
const double |
y1 |
|
) |
| |
|
inline |
Construct with the boundaries in x and y.
Definition at line 15 of file PHBBox.h.
◆ ClipLine()
bool PHBBox::ClipLine |
( |
double & |
x0, |
|
|
double & |
y0, |
|
|
double & |
x1, |
|
|
double & |
y1 |
|
) |
| const |
|
inline |
Given a line, clip it. Return true if the line should appear in the bounding box. The endpoints are updated to reflect the clipping
Definition at line 21 of file PHBBox.h.
◆ Print()
void PHBBox::Print |
( |
std::ostream & |
os = std::cout | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /dev/shm/kenichi/update-github-e1039-doc/e1039-core/simulation/g4main/PHBBox.h