This commit is contained in:
Alberto Valverde 2010-11-12 22:45:24 +00:00
parent 796740f56b
commit 2d329799ef

View file

@ -237,7 +237,7 @@ public:
double x0, y0;
cont_.get_vertex(0, &x0, &y0);
return distance(x, y, x0, y0) <= abs(tol);
} else if (cont_.size() == 1) {
} else if (cont_.size() > 1) {
bool inside=false;
double x0, y0;
rewind(0);