Commit in lcsim-contrib/src/main/java/org/lcsim/contrib/onoprien/crux/geom on MAIN
CalGeometry.java+3-31.9 -> 1.10
Implement projecting point to a Surface (required for RosaryClusterer update).
Use public API when finding ZDisk intersections.

lcsim-contrib/src/main/java/org/lcsim/contrib/onoprien/crux/geom
CalGeometry.java 1.9 -> 1.10
diff -u -r1.9 -r1.10
--- CalGeometry.java	27 Mar 2009 04:47:35 -0000	1.9
+++ CalGeometry.java	27 Mar 2009 19:52:53 -0000	1.10
@@ -39,7 +39,7 @@
  * calorimeters is available - see {@link SiD02Geometry}.
  * 
  * @author D. Onoprienko
- * @version $Id: CalGeometry.java,v 1.9 2009/03/27 04:47:35 onoprien Exp $
+ * @version $Id: CalGeometry.java,v 1.10 2009/03/27 19:52:53 onoprien Exp $
  */
 abstract public class CalGeometry implements JobEventListener {
 
@@ -221,8 +221,8 @@
   
 // -- Point to layer projection :  ---------------------------------------------
   
-  public Hep3Vector getClosestPointOnLayer(Hep3Vector point, CalLayer layer) {
-    throw new UnsupportedOperationException();  // FIXME
+  public Hep3Vector projectToLayer(Hep3Vector point, CalLayer layer) {
+    return layer.getReferenceSurface().project(point);
   }
 
 
CVSspam 0.2.8