Coords vert = getVertexNum(i); int vdist = vert.distance(c); if ((closest == null) || (vdist < closest_dist)) {
Coords c = cba.getVertexNum(x); if(c == null) { continue;
Coords vertex = movableArea.getVertexNum(vertexNum);
Coords vert = getVertexNum(i); int vdist = vert.distance(c); if ((closest == null) || (vdist < closest_dist)) {
Coords c = cba.getVertexNum(x); if(c == null) { continue;
Coords vertex = movableArea.getVertexNum(vertexNum);