1 #ifndef Geom_RectangularPlaneBounds_H
2 #define Geom_RectangularPlaneBounds_H
23 virtual float length()
const {
return 2*halfLength;}
25 virtual float width()
const {
return 2*halfWidth;}
27 virtual float thickness()
const {
return 2*halfThickness;}
48 return (
std::abs(p.
x()) < (halfWidth + tollerance) ) &
49 (
std::abs(p.
y()) < (halfLength + tollerance) );
virtual float thickness() const
Thickness of the volume in local Z.
virtual bool inside(const Local3DPoint &) const =0
Determine if the point is inside the bounds.
virtual float length() const
Lenght along local Y.
virtual bool inside(const Local2DPoint &p, float tollerance) const
Abs< T >::type abs(const T &t)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
virtual bool inside(const Local2DPoint &p) const
virtual float width() const
Width along local X.
virtual bool inside(const Local3DPoint &p) const
Determine if the point is inside the bounds.
Unlimited (trivial) bounds.