System.out.println("lwpolyline");
	protected void processLayer(DXFLayer layer) {		this.queues = new ArrayList();		// check the lines		if (layer.hasDXFEntities(DXFConstants.ENTITY_TYPE_LINE)) {			List l = layer.getDXFEntities(DXFConstants.ENTITY_TYPE_LINE);			Iterator i = l.iterator();			while (i.hasNext()) {							DXFLine line = (DXFLine) i.next();				Point start = line.getStartPoint();				Point end = line.getEndPoint();				checkDXFEntity(line, start, end);			}		}		// check the polylines		if (layer.hasDXFEntities(DXFConstants.ENTITY_TYPE_POLYLINE)) {			List l = layer.getDXFEntities(DXFConstants.ENTITY_TYPE_POLYLINE);			Iterator i = l.iterator();			while (i.hasNext()) {						DXFPolyline pl = (DXFPolyline) i.next();				if (!pl.isClosed() && !pl.is3DPolygonMesh()						&& !pl.isClosedMeshMDirection()						&& !pl.isClosedMeshNDirection()						&& !pl.isCubicSurefaceMesh()) {					Point start = pl.getVertex(0).getPoint();					Point end = pl.getVertex(pl.getVertexCount() - 1)							.getPoint();					checkDXFEntity(pl, start, end);				}			}		}		// check the lwpolylines		if (layer.hasDXFEntities(DXFConstants.ENTITY_TYPE_LWPOLYLINE)) {			List l = layer.getDXFEntities(DXFConstants.ENTITY_TYPE_LWPOLYLINE);			Iterator i = l.iterator();			while (i.hasNext()) {				System.out.println("lwpolyline");				DXFLWPolyline pl = (DXFLWPolyline) i.next();				if (!pl.isClosed() && !pl.is3DPolygonMesh()						&& !pl.isClosedMeshMDirection()						&& !pl.isClosedMeshNDirection()						&& !pl.isCubicSurefaceMesh()) {					Point start = pl.getVertex(0).getPoint();					Point end = pl.getVertex(pl.getVertexCount() - 1)							.getPoint();					checkDXFEntity(pl, start, end);				}			}		}		// check the arcs		if (layer.hasDXFEntities(DXFConstants.ENTITY_TYPE_ARC)) {			List l = layer.getDXFEntities(DXFConstants.ENTITY_TYPE_ARC);			Iterator i = l.iterator();			while (i.hasNext()) {				DXFArc arc = (DXFArc) i.next();				// note that this points are calculated				// and could be not connected to the rest				// even though they should in you CAD				Point start = arc.getStartPoint();				Point end = arc.getEndPoint();				checkDXFEntity(arc, start, end);			}		}		// finish up the connection search		// and connect parts, if it is possible			connectPolylineQueues();		cleanUp(layer);	}