#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHBBox.h>
|
| PHBBox (const double x0, const double y0, const double x1, const double y1) |
| Construct with the boundaries in x and y.
|
|
bool | ClipLine (double &x0, double &y0, double &x1, double &y1) const |
|
void | Print (std::ostream &os=std::cout) |
|
Definition at line 12 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 12 of file PHBBox.h
- Enumerator:
-
Definition at line 97 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 97 of file PHBBox.h
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 17 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 17 of file PHBBox.h
int PHBBox::ClipCode |
( |
const double |
x, |
|
|
const double |
y |
|
) |
| const |
|
inlineprivate |
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 23 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 23 of file PHBBox.h
References _x0, _x1, _y0, _y1, BOTTOM, ClipCode(), LEFT, RIGHT, TOP, x, and y.
void PHBBox::Print |
( |
std::ostream & |
os = std::cout | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- coresoftware/blob/master/simulation/g4simulation/g4main/PHBBox.h