[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model CoordinateSystem.java, 1.24, 1.25
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-08-14 08:27:22
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5097/src/net/sourceforge/bprocessor/model Modified Files: CoordinateSystem.java Log Message: Start improvement of rotation of plane Index: CoordinateSystem.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/CoordinateSystem.java,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** CoordinateSystem.java 11 Aug 2006 13:36:20 -0000 1.24 --- CoordinateSystem.java 14 Aug 2006 08:27:16 -0000 1.25 *************** *** 106,109 **** --- 106,125 ---- /** + * Turn around some other vector + * @param changed The changed vector + */ + public void turn(Vertex changed) { + if (changed == i) { + normalize(j); + } + if (changed == j) { + normalize(i); + } + if (changed == n) { + normalize(i); + } + } + + /** * Constructor for CoordinateSystem that constructs a CoordinateSystem * from two edges. The edges are assumed to have a common Vertex. |