Print

Print


Commit in lcsim/src/org/lcsim/spacegeom on MAIN
SpacePath.java+6-41.5 -> 1.6
Changed Constructor to take two SpacePoints instead of one.
See LCSIM-4 for definitions.

lcsim/src/org/lcsim/spacegeom
SpacePath.java 1.5 -> 1.6
diff -u -r1.5 -r1.6
--- SpacePath.java	1 Aug 2005 18:04:29 -0000	1.5
+++ SpacePath.java	3 Aug 2005 18:55:12 -0000	1.6
@@ -45,12 +45,14 @@
         super();
     }
     
-    /** Copy onstructor from a space point.
-     * @param spt the Spacepoint to replicate
+    /** constructor from two space points.
+     * @param origin the origin of the path
+     * @param endpoint the endpoint of the path
      */
-    public SpacePath( SpacePoint spt )
+    public SpacePath( SpacePoint origin, SpacePoint endpoint )
     {
-        super(spt);
+        setOrigin(origin);
+        setEndPoint(endpoint);
     }
     
     /** Constructor from a space vector.
CVSspam 0.2.8