48 fBBox[4] = z - epsilon;
fBBox[5] = z + epsilon;
64 for (
Int_t i=0; i<6; i+=2) {
67 fBBox[i] =
b - 0.5*epsilon;
68 fBBox[i+1] =
b + 0.5*epsilon;
Helper for management of bounding-box information.
void SetupBBoxCube(Float_t extent, Float_t x, Float_t y, Float_t z)
Setup bounding box as cube with given extent and center position.
void BBoxClear()
Remove BBox information.
void BBoxZero(Float_t epsilon=0, Float_t x=0, Float_t y=0, Float_t z=0)
Create cube of volume (2*epsilon)^3 at (x,y,z).
void AssertBBoxExtents(Float_t epsilon=0.005)
Assert extents of all sides of the bounding-box are at least epsilon.
void BBoxInit(Float_t infinity=1e6)
Dynamic Float_t[6] X(min,max), Y(min,max), Z(min,max)