1 #ifndef Geom_SimpleDiskBounds_H
2 #define Geom_SimpleDiskBounds_H
19 virtual float length()
const {
return theZmax - theZmin;}
20 virtual float width()
const {
return 2*theRmax;}
21 virtual float thickness()
const {
return theZmax-theZmin;}
24 return ((p.
z() > theZmin) & (p.
z() < theZmax)) &&
25 ( (p.
perp2() > theRmin*theRmin) & (p.
perp2() < theRmax*theRmax) );
40 float minZ()
const {
return theZmin;}
41 float maxZ()
const {
return theZmax;}
50 #endif // Geom_SimpleDiskBounds_H
virtual float thickness() const
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
float outerRadius() const
virtual float length() const
float innerRadius() const
Extension of the Bounds interface.
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
virtual float width() const
virtual bool inside(const Local3DPoint &p) const
Determine if the point is inside the bounds.
Unlimited (trivial) bounds.