public void addVertex(double x, double y) {
		if (complete) {
			throw new ErrorException("You can't add vertices to a GPolygon that has been "
			                         + "marked as complete.");
		}
		synchronized (lock) {
			vertexList.add(new GPoint(x, y));
			cx = x;
			cy = y;
		}
	}