[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model/constraints OffsetConstraint.java,
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-12-11 14:49:03
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/constraints In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24969/src/net/sourceforge/bprocessor/model/constraints Modified Files: OffsetConstraint.java Log Message: renamed scaleInPlace to scaleIt Index: OffsetConstraint.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/constraints/OffsetConstraint.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** OffsetConstraint.java 13 Nov 2007 12:19:30 -0000 1.8 --- OffsetConstraint.java 11 Dec 2007 14:49:04 -0000 1.9 *************** *** 135,139 **** Vertex origin = system.getOrigin(); Vertex n = system.getN(); ! n.scaleInPlace(1 / n.length()); Vertex v = slave.getFirstVertex(); Vertex u = v.minus(origin); --- 135,139 ---- Vertex origin = system.getOrigin(); Vertex n = system.getN(); ! n.scaleIt(1 / n.length()); Vertex v = slave.getFirstVertex(); Vertex u = v.minus(origin); *************** *** 150,154 **** CoordinateSystem system = master.coordinateSystem(); Vertex n = system.getN(); ! n.scaleInPlace(1 / n.length()); Set vertices = new HashSet(); --- 150,154 ---- CoordinateSystem system = master.coordinateSystem(); Vertex n = system.getN(); ! n.scaleIt(1 / n.length()); Set vertices = new HashSet(); |