lcsim/src/org/lcsim/spacegeom
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.