public void deletePolygon(Vertex v)
    {
        if (v == null)  return;
        if (v.getClass() != Point.class)    return;
        Point p = (Point)v;
        Point q = p;
        do {
            vertices.removeVertex(q);
            q = q.getRight();
        } while (q != p);
    }