[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model/modellor TileModellor.java, 1.25, 1
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-12-13 08:21:38
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv365/src/net/sourceforge/bprocessor/model/modellor Modified Files: TileModellor.java Log Message: final grid algorithm Index: TileModellor.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor/TileModellor.java,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** TileModellor.java 12 Dec 2007 12:48:22 -0000 1.25 --- TileModellor.java 13 Dec 2007 08:21:34 -0000 1.26 *************** *** 307,311 **** for (Edge e1 : vertEdges) { for (Edge e2 : horEdges) { ! Edge inter = e1.intersection(e2); if (inter != null && inter.getLength() < 0.00001 && --- 307,311 ---- for (Edge e1 : vertEdges) { for (Edge e2 : horEdges) { ! Edge inter = e1.shortestEdge(e2); if (inter != null && inter.getLength() < 0.00001 && *************** *** 366,370 **** continue; } ! Edge found = slider.intersection(inside); if (found != null) { if (found.getLength() < 0.0001 && --- 366,370 ---- continue; } ! Edge found = slider.shortestEdge(inside); if (found != null) { if (found.getLength() < 0.0001 && |