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_); } }
bool pass(const box2d<double>& extent) const { return extent.contains(pt_); }