Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13559/src/net/sourceforge/bprocessor/model
Modified Files:
Geometry.java
Log Message:
Uses new pencil algo in all tools inserting edges (other than ExtrudeTool)
Index: Geometry.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Geometry.java,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** Geometry.java 5 Dec 2006 09:06:17 -0000 1.37
--- Geometry.java 12 Dec 2006 09:43:26 -0000 1.38
***************
*** 838,855 ****
}
}
! if (!actual.isEmpty()) {
! Vertex v = Edge.commonVertex((Edge) actual.get(0), (Edge) actual.get(actual.size() - 1));
! if (v != null && actual.size() > 2) {
! Surface surface = new Surface(actual);
! Surface existing = space.findSurface(surface);
! if (existing == null) {
! result.add(surface);
! space.add(surface);
! holeAnalysis(surface);
! }
! } else {
! result.addAll(surfaceAnalysis(actual));
! }
! }
Project.getInstance().changed(Project.getInstance());
Project.getInstance().checkpoint();
--- 838,843 ----
}
}
! SurfaceAnalysis analysis = new SurfaceAnalysis();
! analysis.surfaceAnalysis(space, actual);
Project.getInstance().changed(Project.getInstance());
Project.getInstance().checkpoint();
|