[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool PencilTool.java, 1.75, 1.76
Status: Pre-Alpha
Brought to you by:
henryml
|
From: Michael L. <he...@us...> - 2006-12-12 09:05:17
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30953/src/net/sourceforge/bprocessor/gl/tool Modified Files: PencilTool.java Log Message: Removed test prints from penciltool - added a few more test models Index: PencilTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/PencilTool.java,v retrieving revision 1.75 retrieving revision 1.76 diff -C2 -d -r1.75 -r1.76 *** PencilTool.java 11 Dec 2006 16:51:56 -0000 1.75 --- PencilTool.java 12 Dec 2006 09:05:15 -0000 1.76 *************** *** 464,468 **** { Iterator iter = start.iterator(); - System.out.println("-- analysis --"); while (iter.hasNext()) { Edge current = (Edge) iter.next(); --- 464,467 ---- *************** *** 554,563 **** glv.getView().clearColor(start.edge); if (start.left == null) { - System.out.println("left analyze " + start); SurfaceNode s = new SurfaceNode(); VertexNode to = start.to; EdgeNode current = start; while (current.getLeft(to) != s) { - System.out.println(current); s.consume(current.getLeft(to)); current.setLeft(to, s); --- 553,560 ---- *************** *** 568,576 **** List edges = leftContour(start); if (edges.size() > 2) { - System.out.println("left surface:" + edges); int turn = Surface.direction(edges, system); if (turn == Surface.LEFT) { - System.out.println("turns left"); - System.out.println("consumes " + s.surfaces); Surface surface = new Surface(edges); assign(surface, s.surfaces); --- 565,570 ---- *************** *** 578,594 **** removed.addAll(s.surfaces); } - if (turn == Surface.RIGHT) { - System.out.println("turns right"); - } } } } if (start.right == null) { - System.out.println("right analyze " + start); SurfaceNode s = new SurfaceNode(); VertexNode to = start.to; EdgeNode current = start; while (current.getRight(to) != s) { - System.out.println(current); s.consume(current.getRight(to)); current.setRight(to, s); --- 572,583 ---- *************** *** 599,610 **** List edges = rightContour(start); if (edges.size() > 2) { - System.out.println("right surface:" + edges); int turn = Surface.direction(edges, system); - if (turn == Surface.LEFT) { - System.out.println("turns left"); - } if (turn == Surface.RIGHT) { - System.out.println("turns right"); - System.out.println("consumes " + s.surfaces); Surface surface = new Surface(edges); assign(surface, s.surfaces); --- 588,593 ---- |