[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-11-13 12:19:32
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/constraints In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22683/src/net/sourceforge/bprocessor/model/constraints Modified Files: OffsetConstraint.java Log Message: renamed Vertex.scale to scaleInPlace Index: OffsetConstraint.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/constraints/OffsetConstraint.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** OffsetConstraint.java 16 Apr 2007 15:55:43 -0000 1.7 --- OffsetConstraint.java 13 Nov 2007 12:19:30 -0000 1.8 *************** *** 135,139 **** Vertex origin = system.getOrigin(); Vertex n = system.getN(); ! n.scale(1 / n.length()); Vertex v = slave.getFirstVertex(); Vertex u = v.minus(origin); --- 135,139 ---- Vertex origin = system.getOrigin(); Vertex n = system.getN(); ! n.scaleInPlace(1 / n.length()); Vertex v = slave.getFirstVertex(); Vertex u = v.minus(origin); *************** *** 150,154 **** CoordinateSystem system = master.coordinateSystem(); Vertex n = system.getN(); ! n.scale(1 / n.length()); Set vertices = new HashSet(); --- 150,154 ---- CoordinateSystem system = master.coordinateSystem(); Vertex n = system.getN(); ! n.scaleInPlace(1 / n.length()); Set vertices = new HashSet(); |