[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool AbstractTool.java,1.40,1.41 MoveTool.j
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2005-12-20 13:56:13
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29639/src/net/sourceforge/bprocessor/gl/tool Modified Files: AbstractTool.java MoveTool.java ExtrusionTool.java Log Message: Changed Surface.isInner to Surface.exterior pointing to the exterior Index: MoveTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/MoveTool.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** MoveTool.java 19 Dec 2005 07:51:29 -0000 1.20 --- MoveTool.java 20 Dec 2005 13:55:51 -0000 1.21 *************** *** 89,94 **** Surface surface = (Surface) o; vertices.addAll(surface.getVertices()); ! if (surface.getInnerSurfaces() != null) { ! Iterator iter = surface.getInnerSurfaces().iterator(); while (iter.hasNext()) { Surface current = (Surface) iter.next(); --- 89,94 ---- Surface surface = (Surface) o; vertices.addAll(surface.getVertices()); ! if (surface.getHoles() != null) { ! Iterator iter = surface.getHoles().iterator(); while (iter.hasNext()) { Surface current = (Surface) iter.next(); *************** *** 159,163 **** } else if (o instanceof Surface) { Surface sel = (Surface)o; ! inner = sel.getIsInner(); temp = sel.plane(); } else if (o instanceof ClippingPlane) { --- 159,163 ---- } else if (o instanceof Surface) { Surface sel = (Surface)o; ! inner = sel.isInner(); temp = sel.plane(); } else if (o instanceof ClippingPlane) { Index: ExtrusionTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/ExtrusionTool.java,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** ExtrusionTool.java 19 Dec 2005 07:51:29 -0000 1.35 --- ExtrusionTool.java 20 Dec 2005 13:55:51 -0000 1.36 *************** *** 615,619 **** extrudedSurfaces = extensions; ! Set innerSurfaces = selectedSurface.getInnerSurfaces(); innerExSurfs = new HashSet(); if (innerSurfaces != null) { --- 615,619 ---- extrudedSurfaces = extensions; ! Set innerSurfaces = selectedSurface.getHoles(); innerExSurfs = new HashSet(); if (innerSurfaces != null) { *************** *** 631,635 **** innerExSurfs.add(extensions); top.addHole(newInnerSurf); - newInnerSurf.setIsInner(true); } } --- 631,634 ---- Index: AbstractTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/AbstractTool.java,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** AbstractTool.java 19 Dec 2005 07:51:30 -0000 1.40 --- AbstractTool.java 20 Dec 2005 13:55:51 -0000 1.41 *************** *** 510,514 **** while (surfIt.hasNext()) { Surface surf = (Surface)surfIt.next(); ! Set inners = surf.getInnerSurfaces(); if (inners != null) { Iterator innerIt = inners.iterator(); --- 510,514 ---- while (surfIt.hasNext()) { Surface surf = (Surface)surfIt.next(); ! Set inners = surf.getHoles(); if (inners != null) { Iterator innerIt = inners.iterator(); |