Update of /cvsroot/bprocessor//gl/src/net/sourceforge/bprocessor/gl/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19138/src/net/sourceforge/bprocessor/gl/model
Modified Files:
GlObject.java
Log Message:
made changes to the way GLObjects are selected in View and made som minor changes to the tool and added the requirement of a getPlane function that returns a plane GlObject interface, maybe a special INTERSECTION type is need later
Index: GlObject.java
===================================================================
RCS file: /cvsroot/bprocessor//gl/src/net/sourceforge/bprocessor/gl/model/GlObject.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** GlObject.java 18 Dec 2006 14:48:04 -0000 1.2
--- GlObject.java 2 Jan 2007 17:45:40 -0000 1.3
***************
*** 10,13 ****
--- 10,14 ----
import javax.media.opengl.GLAutoDrawable;
import net.sourceforge.bprocessor.model.Edge;
+ import net.sourceforge.bprocessor.model.Plane;
import net.sourceforge.bprocessor.model.Vertex;
***************
*** 30,32 ****
--- 31,39 ----
*/
public Vertex intersection(Edge e);
+
+ /**
+ * Return the associated plane for the GlObject
+ * @return The plane
+ */
+ public Plane getPlane();
}
|