[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model/constraints OffsetConstraint.java,
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2006-07-04 09:36:59
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/constraints In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv30570/src/net/sourceforge/bprocessor/model/constraints Modified Files: OffsetConstraint.java Log Message: Made Plane and coordinatesystem extend constructor, and created Point and Line. Made some adjustments to the existing files that uses Plane allready... Index: OffsetConstraint.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/constraints/OffsetConstraint.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** OffsetConstraint.java 30 May 2006 09:28:56 -0000 1.4 --- OffsetConstraint.java 4 Jul 2006 09:36:55 -0000 1.5 *************** *** 108,112 **** Surface slave = (Surface) getSlave(); CoordinateSystem system = master.coordinateSystem(); ! Vertex origin = system.origin(); Vertex n = system.getN(); n.scale(1 / n.length()); --- 108,112 ---- Surface slave = (Surface) getSlave(); CoordinateSystem system = master.coordinateSystem(); ! Vertex origin = system.getOrigin(); Vertex n = system.getN(); n.scale(1 / n.length()); |