@Override
	public void closePath() throws ParseException {
		if(!coordinates.getFirst().equals(coordinates.getLast())){
			coordinates.add((Coordinate) coordinates.getFirst().clone());
		}
		if(processingShell){
			shellCoordinates = coordinates;
			processingShell=false;
		} else {
			holes.add(coordinates);
		}
		coordinates = new LinkedList<Coordinate>();
	}