View Javadoc

1   package org.lcsim.spacegeom;
2   /** A Cartesian SpacePath
3    *
4    *@author Norman A. Graf
5    *@version $Id: CartesianPath.java,v 1.1.1.1 2010/12/01 00:15:57 jeremy Exp $
6    *@deprecated in favor of @link{#CartesianPointVector}
7    */
8   @Deprecated public class CartesianPath extends SpacePath
9   {
10      
11      /** Constructor from coordinates and direction.
12       * @param x Cartesian x coordinate
13       * @param y Cartesian y coordinate
14       * @param z Cartesian z coordinate
15       * @param dx Cartesian path element dx coordinate
16       * @param dy Cartesian path element dy coordinate
17       * @param dz Cartesian path element dz coordinate
18       */
19      public CartesianPath(double x, double y, double z,double dx, double dy, double dz)
20      {
21          super( new CartesianPointVector(x,y,z,dx,dy,dz) );
22      }
23      
24      
25      /** Constructor from space point and direction.
26       * @param spt The SpacePoint for the position coordinates
27       * @param dx Cartesian path element dx coordinate
28       * @param dy Cartesian path element dy coordinate
29       * @param dz Cartesian path element dz coordinate
30       */
31      public CartesianPath(SpacePoint spt, double dx, double dy, double dz)
32      {
33          super( new CartesianPointVector(spt,dx,dy,dz) );
34      }
35      
36  }