Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23676/src/net/sourceforge/bprocessor/model/modellor
Modified Files:
InnerWallModellor.java
Log Message:
Renamed copy(scale) to scale
Index: InnerWallModellor.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor/InnerWallModellor.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** InnerWallModellor.java 13 Nov 2007 12:19:30 -0000 1.11
--- InnerWallModellor.java 13 Nov 2007 12:21:49 -0000 1.12
***************
*** 206,211 ****
Edge topCopy = bottom.copy();
Edge rightCopy = right.copy();
! Vertex up = cs.getN().copy(JOIST_WIDTH / cs.getN().length());
! Vertex left = cs.getI().copy(-JOIST_WIDTH / cs.getI().length());
topCopy.move(up);
rightCopy.move(left);
--- 206,211 ----
Edge topCopy = bottom.copy();
Edge rightCopy = right.copy();
! Vertex up = cs.getN().scale(JOIST_WIDTH / cs.getN().length());
! Vertex left = cs.getI().scale(-JOIST_WIDTH / cs.getI().length());
topCopy.move(up);
rightCopy.move(left);
***************
*** 236,240 ****
length = e.getLength() - (JOIST_WIDTH * 2);
} else if (horizontal(e)) {
! i = cs.getN().copy(-1);
j = cs.getJ().copy();
n = cs.getI().copy();
--- 236,240 ----
length = e.getLength() - (JOIST_WIDTH * 2);
} else if (horizontal(e)) {
! i = cs.getN().scale(-1);
j = cs.getJ().copy();
n = cs.getI().copy();
***************
*** 451,455 ****
supports.add(support1);
Edge support2 = support1.copy();
! Vertex move = cs.getI().copy(JOIST_WIDTH / cs.getI().length());
support2.move(move);
supports.add(support2);
--- 451,455 ----
supports.add(support1);
Edge support2 = support1.copy();
! Vertex move = cs.getI().scale(JOIST_WIDTH / cs.getI().length());
support2.move(move);
supports.add(support2);
|