Package uk.ac.starlink.pal
Class Spherical
java.lang.Object
uk.ac.starlink.pal.Spherical
Point in Spherical coordinates (with radial velocity)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Spherical
public Spherical(double a, double b, double c) Point in Spherical coordinates- Parameters:
a
- Longitudeb
- Latitudec
- Radial
-
Spherical
public Spherical(double a, double b, double c, double aa, double bb, double cc) Point in Spherical coordinates and Radial Veocity- Parameters:
a
- Longitudeb
- Latitudec
- Radialaa
- Velocity component along longitudebb
- Velocity component along latitudecc
- Velocity component along radial
-
-
Method Details
-
getLong
public double getLong()Get Longitude- Returns:
- Longitude
-
getLat
public double getLat()Get Latitude- Returns:
- Latitude
-
getRadial
public double getRadial()Get radial component- Returns:
- Radial component
-
getLongDeriv
public double getLongDeriv()Get longitude velocity component- Returns:
- Longitude velocity component
-
getLatDeriv
public double getLatDeriv()Get latitude velocity component- Returns:
- Latitude velocity component
-
getRadialDeriv
public double getRadialDeriv()Get radial velocity component- Returns:
- Radial velocity component
-
toString
Get as String
-