[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Edge.java, 1.99, 1.100 ClippingPlane
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-11-13 09:46:25
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22153/src/net/sourceforge/bprocessor/model Modified Files: Edge.java ClippingPlane.java Surface.java Point.java CoordinateSystem.java Log Message: Removed unused declarations of canMove Index: ClippingPlane.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/ClippingPlane.java,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** ClippingPlane.java 18 Jul 2007 12:24:04 -0000 1.21 --- ClippingPlane.java 13 Nov 2007 09:46:27 -0000 1.22 *************** *** 327,335 **** /** {@inheritDoc} */ - public Vertex canMove(double x, double y, double z, Collection entities) { - return (new Vertex(x, y, z).projectOnto(getPlane().normal())); - } - - /** {@inheritDoc} */ public List<Attribute> getAttributes() { ArrayList<Attribute> res = new ArrayList<Attribute>(); --- 327,330 ---- Index: Surface.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Surface.java,v retrieving revision 1.203 retrieving revision 1.204 diff -C2 -d -r1.203 -r1.204 *** Surface.java 12 Nov 2007 20:11:51 -0000 1.203 --- Surface.java 13 Nov 2007 09:46:27 -0000 1.204 *************** *** 1250,1265 **** } } - - /** {@inheritDoc} */ - public Vertex canMove(double x, double y, double z, Collection entities) { - Vertex dir = new Vertex(x, y, z); - if (this.getExterior() != null) { - if (!entities.contains(this.getExterior())) { - // Restricted to be in plane of the exterior surface - dir = getExterior().plane().project(dir); - } - } - return dir; - } /** --- 1250,1253 ---- Index: Point.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Point.java,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Point.java 18 Jul 2007 13:35:38 -0000 1.18 --- Point.java 13 Nov 2007 09:46:28 -0000 1.19 *************** *** 8,12 **** import java.util.ArrayList; - import java.util.Collection; import java.util.List; --- 8,11 ---- *************** *** 30,39 **** super(); } - - /** {@inheritDoc} */ - public Vertex canMove(double x, double y, double z, Collection entities) { - // TODO Think it through - return new Vertex(x, y, z); - } /** {@inheritDoc} */ --- 29,32 ---- Index: CoordinateSystem.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/CoordinateSystem.java,v retrieving revision 1.62 retrieving revision 1.63 diff -C2 -d -r1.62 -r1.63 *** CoordinateSystem.java 13 Nov 2007 07:32:42 -0000 1.62 --- CoordinateSystem.java 13 Nov 2007 09:46:28 -0000 1.63 *************** *** 241,250 **** } - /** {@inheritDoc} */ - public Vertex canMove(double x, double y, double z, Collection entities) { - // TODO Think it through - return new Vertex(x, y, z); - } - /** * Computes the box-product of the vectors of this CoordinateSystem: --- 241,244 ---- Index: Edge.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Edge.java,v retrieving revision 1.99 retrieving revision 1.100 diff -C2 -d -r1.99 -r1.100 *** Edge.java 9 Nov 2007 13:39:09 -0000 1.99 --- Edge.java 13 Nov 2007 09:46:27 -0000 1.100 *************** *** 379,388 **** } - /** {@inheritDoc} */ - public Vertex canMove(double x, double y, double z, Collection entities) { - // TODO Think it through - return new Vertex(x, y, z); - } - /** * Find the intersection between this Edge and the Other. --- 379,382 ---- |