Commit in GeomConverter/src/org/lcsim/geometry/util on MAIN
BaseIDDecoder.java+13-11.6 -> 1.7
JM: default impl of findCellContainingXYZ() and getPositionVector()

GeomConverter/src/org/lcsim/geometry/util
BaseIDDecoder.java 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- BaseIDDecoder.java	7 Feb 2006 18:47:10 -0000	1.6
+++ BaseIDDecoder.java	8 Feb 2006 01:00:59 -0000	1.7
@@ -7,9 +7,11 @@
 
 package org.lcsim.geometry.util;
 
+import hep.physics.vec.Hep3Vector;
+import hep.physics.vec.BasicHep3Vector;
+
 import org.lcsim.geometry.Subdetector;
 import org.lcsim.geometry.subdetector.BarrelEndcapFlag;
-import static org.lcsim.geometry.IDDecoder.INVALID_INDEX;
 
 /**
  * A basic implementation of org.lcsim.geometry.IDDecoder
@@ -208,5 +210,15 @@
     public long[] getNeighbourIDs()
     {
         return getNeighbourIDs(1,1,1);
+    }
+
+    public long findCellContainingXYZ(Hep3Vector pos)
+    {
+        return 0;
+    }
+
+    public Hep3Vector getPositionVector()
+    {
+        return new BasicHep3Vector(getPosition());
     }    
 }
\ No newline at end of file
CVSspam 0.2.8