5 RectangularPlaneBounds::RectangularPlaneBounds(
float w,
float h,
float t) :
6 halfWidth(w), halfLength(h), halfThickness(t) {}
9 RectangularPlaneBounds::~RectangularPlaneBounds(){}
13 if( (scale >=0) && inside(p) )
return true;
22 if( (scale >=0) && inside(p) )
return true;
29 std::pair<bool,bool> RectangularPlaneBounds::inout(
const Local3DPoint& p,
const LocalError& err,
float scale)
const {
32 bool inx = xl<halfWidth;
33 bool outx = xh>halfWidth;
37 bool iny = yl<halfLength;
38 bool outy = yh>halfLength;
40 return std::pair<bool,bool>(inx&&iny,outx||outy);
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)