1 package org.lcsim.spacegeom; 2 /** A Spherical SpacePath 3 * 4 *@author Norman A. Graf 5 *@version $Id: SphericalPath.java,v 1.1.1.1 2010/12/01 00:15:57 jeremy Exp $ 6 * 7 */ 8 public class SphericalPath extends SpacePath 9 { 10 /** Construct a spherical path from coordinates and path components. 11 * Arguments are (dr, r*dtheta, r*sin(theta)*dphi). 12 * @param r Spherical radius coordinate 13 * @param theta Spherical theta coordinate 14 * @param phi Spherical phi coordinate 15 * @param dr Spherical delta radius coordinate 16 * @param r_dtheta Spherical delta theta coordinate 17 * @param rt_dphi Spherical rdelta phi coordinate 18 */ 19 public SphericalPath(double r, double theta, double phi, double dr, double r_dtheta, double rt_dphi) 20 { 21 super( new SphericalPointVector(r,theta,phi,dr,r_dtheta,rt_dphi) ); 22 } 23 24 /** Constructor from space point and direction. 25 * @param spt Spacepoint for this point's location 26 * @param dr Spherical delta radius coordinate 27 * @param r_dtheta Spherical delta theta coordinate 28 * @param rt_dphi Spherical rdelta phi coordinate 29 */ 30 public SphericalPath( SpacePoint spt, double dr, double r_dtheta, double rt_dphi) 31 { 32 super( new SphericalPointVector(spt,dr,r_dtheta,rt_dphi) ); 33 } 34 35 }