for (int i = 0; i < vertices.size(); i++) { DXFVertex v = (DXFVertex) vertices.get(i); if (index == i) { vertices.remove(i);
Iterator i = vertices.iterator(); while (i.hasNext()) { DXFVertex v = (DXFVertex) i.next(); if (v == vertex) { i.remove();
	public void removeVertex(int index) {		constantWidth = true;		for (int i = 0; i < vertices.size(); i++) {			DXFVertex v = (DXFVertex) vertices.get(i);			if (index == i) {				vertices.remove(i);			} else if (!v.isConstantWidth()) {				constantWidth = false;			}		}	}