Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17894
Modified Files:
View.java
Log Message:
Added method getObjectAtPoint to support selection
Index: View.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/view/View.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** View.java 5 Aug 2005 11:05:18 -0000 1.2
--- View.java 15 Aug 2005 12:53:11 -0000 1.3
***************
*** 117,119 ****
--- 117,126 ----
public double[] getAlignPoint();
+ /**
+ * Gets id of the object under a point. For use in 3D selection.
+ * @param x the x coordinate of the point
+ * @param y the y coordinate of the point
+ * @return a Long id of the object under the point, null if no object is there
+ */
+ public Long getObjectAtPoint(double x, double y);
}
|