use of org.eclipse.collections.api.iterator.MutableIntIterator in project narchy by automenta.
the class Polygon method is_exist.
public boolean is_exist(double x, double y) {
MutableIntIterator iter = _points.keySet().intIterator();
Pointbase pb;
while (iter.hasNext()) {
pb = getPoint(iter.next());
if ((pb.x == x) && (pb.y == y))
return true;
}
return false;
}
Aggregations