Esempio n. 1
0
 bool pass(const box2d<double>& extent) const
 {
     if (tol_ == 0)
     {
         return extent.contains(pt_);
     }
     else
     {
         box2d<double> extent2 = extent;
         extent2.pad(tol_);
         return extent2.contains(pt_);
     }
 }
Esempio n. 2
0
 bool pass(const box2d<double>& extent) const
 {
     return extent.contains(pt_);
 }