|
| TBoxClipped (double a, double b, double c, double d) |
|
virtual void | Paint (Option_t *option) |
|
Definition at line 18 of file View2D.cxx.
evdb::TBoxClipped::TBoxClipped |
( |
double |
a, |
|
|
double |
b, |
|
|
double |
c, |
|
|
double |
d |
|
) |
| |
|
inline |
virtual void evdb::TBoxClipped::Paint |
( |
Option_t * |
option | ) |
|
|
inlinevirtual |
Definition at line 22 of file View2D.cxx.
References evdb::View2D::fgArcL, evdb::View2D::fgBoxL, evdb::View2D::fgLatexL, evdb::View2D::fgLineL, evdb::View2D::fgMarkerL, evdb::View2D::fgPolyLineL, evdb::View2D::fgPolyMarkerL, evdb::View2D::fgTextL, x1, x2, y1, and y2.
24 const double ux1 = gPad->GetUxmin(), uy1 = gPad->GetUymin();
25 const double ux2 = gPad->GetUxmax(), uy2 = gPad->GetUymax();
28 if(fX1 < ux1 && fX2 < ux1)
return;
29 if(fX1 > ux2 && fX2 > ux2)
return;
32 if(fY1 < uy1 && fY2 < uy1)
return;
33 if(fY1 > uy2 && fY2 > uy2)
return;
37 const double x1 = fX1,
y1 = fY1,
x2 = fX2,
y2 = fY2;
42 if(fX1 < ux1) fX1 = ux1;
43 if(fX2 > ux2) fX2 = ux2;
46 if(fY1 < uy1) fY1 = uy1;
47 if(fY2 > uy2) fY2 = uy2;
53 fX1 =
x1; fX2 =
x2; fY1 =
y1; fY2 =
y2;
Float_t y1[n_points_granero]
Float_t x1[n_points_granero]
Float_t y2[n_points_geant4]
Float_t x2[n_points_geant4]
The documentation for this class was generated from the following file:
- nuevdb/v1_09_08/source/nuevdb/EventDisplayBase/View2D.cxx