22 if (vols.empty())
return nullptr;
24 for (VolumeContainer::const_iterator
i=vols.begin();
i!=vols.end();
i++) {
25 if (
i->second->inside(point))
return i->first;
33 if (
i->first == vol)
return i->second;
36 if (
i->first == vol)
return i->second;
VolumeContainer theNegVolumes
virtual Bounds * clone() const =0
std::vector< VolumeAndBounds > VolumeContainer
const Bounds * bounds(const NavVolume *vol)
const NavVolume * nextVolume(const NavSurface::LocalPoint &point, SurfaceOrientation::Side side) const
VolumeContainer thePosVolumes
std::pair< const NavVolume *, const Bounds * > VolumeAndBounds
const NavVolume * findVolume(const NavSurface::LocalPoint &point, const VolumeContainer &volumes) const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
void addVolume(const NavVolume *vol, const Bounds *bounds, SurfaceOrientation::Side side)