[Bprocessor-commit] facade/src/net/sourceforge/bprocessor/facade/modellor FacadeModellor.java, 1.7
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2006-09-05 11:37:47
|
Update of /cvsroot/bprocessor/facade/src/net/sourceforge/bprocessor/facade/modellor In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12577/src/net/sourceforge/bprocessor/facade/modellor Modified Files: FacadeModellor.java Log Message: added the facade to main Index: FacadeModellor.java =================================================================== RCS file: /cvsroot/bprocessor/facade/src/net/sourceforge/bprocessor/facade/modellor/FacadeModellor.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** FacadeModellor.java 31 Aug 2006 11:24:55 -0000 1.7 --- FacadeModellor.java 5 Sep 2006 11:37:45 -0000 1.8 *************** *** 135,139 **** } ! /** Removes a set of constructors from the facade * @param cons the constructors --- 135,139 ---- } ! /** Removes a set of constructors from the facade * @param cons the constructors *************** *** 257,261 **** space.setModellor(null); } ! /** * Creates the frame for this facade based on frame thickness and depth. --- 257,261 ---- space.setModellor(null); } ! /** * Creates the frame for this facade based on frame thickness and depth. *************** *** 322,326 **** } } ! /** * Removes the current frame so a new one can be created. --- 322,326 ---- } } ! /** * Removes the current frame so a new one can be created. *************** *** 349,359 **** Edge horEdge = null; while (it.hasNext() && ! (vertEdge == null || ! horEdge == null)) { Edge e = (Edge)it.next(); if (Math.abs(e.getDirection().dot(new Vertex(0, 0, 1))) < 0.0001) { horEdge = e; } else if (Math.abs(e.getDirection().dot(new Vertex(1, 0, 0))) < 0.0001 && ! Math.abs(e.getDirection().dot(new Vertex(0, 1, 0))) < 0.0001) { vertEdge = e; } --- 349,359 ---- Edge horEdge = null; while (it.hasNext() && ! (vertEdge == null || ! horEdge == null)) { Edge e = (Edge)it.next(); if (Math.abs(e.getDirection().dot(new Vertex(0, 0, 1))) < 0.0001) { horEdge = e; } else if (Math.abs(e.getDirection().dot(new Vertex(1, 0, 0))) < 0.0001 && ! Math.abs(e.getDirection().dot(new Vertex(0, 1, 0))) < 0.0001) { vertEdge = e; } *************** *** 379,383 **** lengthV += (vertPostWidth / 2); offset.scale(lengthV / offset.length()); ! Line l = new Line(cross.add(offset), vertDir.copy(), true); lengthV += (intervalV + (vertPostWidth / 2)); vertCons.add(l); --- 379,383 ---- lengthV += (vertPostWidth / 2); offset.scale(lengthV / offset.length()); ! Line l = new Line(cross.add(offset), vertDir.copy(), horEdge, true, true); lengthV += (intervalV + (vertPostWidth / 2)); vertCons.add(l); *************** *** 391,395 **** lengthH += (horPostWidth / 2); offset.scale(lengthH / offset.length()); ! Line l = new Line(cross.add(offset), horDir.copy(), true); lengthH += (intervalH + (horPostWidth / 2)); horCons.add(l); --- 391,395 ---- lengthH += (horPostWidth / 2); offset.scale(lengthH / offset.length()); ! Line l = new Line(cross.add(offset), horDir.copy(), vertEdge, true, true); lengthH += (intervalH + (horPostWidth / 2)); horCons.add(l); *************** *** 399,410 **** offset = vertDir.copy(); offset.scale(frameThickness / offset.length()); ! topBound = new Line(cross.add(offset), horDir); offset.scale((vertEdge.getLength() - frameThickness) / offset.length()); ! bottomBound = new Line(cross.add(offset), horDir); offset = horDir.copy(); offset.scale(frameThickness / offset.length()); ! leftBound = new Line(cross.add(offset), vertDir); offset.scale((horEdge.getLength() - frameThickness) / offset.length()); ! rightBound = new Line(cross.add(offset), vertDir); } } --- 399,410 ---- offset = vertDir.copy(); offset.scale(frameThickness / offset.length()); ! topBound = new Line(cross.add(offset), horDir, vertEdge, true, true); offset.scale((vertEdge.getLength() - frameThickness) / offset.length()); ! bottomBound = new Line(cross.add(offset), horDir, vertEdge, true, true); offset = horDir.copy(); offset.scale(frameThickness / offset.length()); ! leftBound = new Line(cross.add(offset), vertDir, horEdge, true, true); offset.scale((horEdge.getLength() - frameThickness) / offset.length()); ! rightBound = new Line(cross.add(offset), vertDir, horEdge, true, true); } } *************** *** 434,438 **** } } ! /** * Runs through the horizontal constructors to create holes for windows. --- 434,438 ---- } } ! /** * Runs through the horizontal constructors to create holes for windows. *************** *** 454,458 **** createHole(oldV, currentV, oldH, bottomBound); } ! /** * Creates a hole based on four boundry lines --- 454,458 ---- createHole(oldV, currentV, oldH, bottomBound); } ! /** * Creates a hole based on four boundry lines |