Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/PHBBox.h>
Public Member Functions | |
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) |
Private Types | |
enum | { RIGHT =1, BOTTOM =2, LEFT =4, TOP =8 } |
Private Member Functions | |
int | ClipCode (const double x, const double y) const |
Private Attributes | |
double | _x0 |
double | _y0 |
double | _x1 |
double | _y1 |
Definition at line 12 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 12 of file PHBBox.h
|
private |
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, ambiguity_solver_full_chain::x, x0, and y.
|
inline |
|
private |
Definition at line 109 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 109 of file PHBBox.h
Referenced by ClipCode(), ClipLine(), and Print().
|
private |
Definition at line 111 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 111 of file PHBBox.h
Referenced by ClipCode(), ClipLine(), and Print().
|
private |
Definition at line 110 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 110 of file PHBBox.h
Referenced by ClipCode(), ClipLine(), and Print().
|
private |
Definition at line 112 of file PHBBox.h.
View newest version in sPHENIX GitHub at line 112 of file PHBBox.h
Referenced by ClipCode(), ClipLine(), and Print().