Class JsCoordSph
java.lang.Object
JsCoordSph
- All Implemented Interfaces:
- JsCoord
- public class JsCoordSph
- extends java.lang.Object
- implements JsCoord
Constructor Summary |
JsCoordSph(double Radius,
double Colat,
double Slon)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JsCoordSph
public JsCoordSph(double Radius,
double Colat,
double Slon)
Radius
public double Radius()
Colat
public double Colat()
Slon
public double Slon()
toString
public java.lang.String toString()
- Specified by:
toString
in interface JsCoord
toLat
public JsCoordLat toLat()
throws java.lang.Exception
- Specified by:
toLat
in interface JsCoord
- Throws:
java.lang.Exception
toRec
public JsCoordRec toRec()
throws java.lang.Exception
- Specified by:
toRec
in interface JsCoord
- Throws:
java.lang.Exception
toSph
public JsCoordSph toSph()
throws java.lang.Exception
- Specified by:
toSph
in interface JsCoord
- Throws:
java.lang.Exception
toCyl
public JsCoordCyl toCyl()
throws java.lang.Exception
- Specified by:
toCyl
in interface JsCoord
- Throws:
java.lang.Exception
toGeo
public JsCoordGeo toGeo(double radius,
double flatenning)
throws java.lang.Exception
- Specified by:
toGeo
in interface JsCoord
- Throws:
java.lang.Exception
toRaDec
public JsCoordRaDec toRaDec()
throws java.lang.Exception
- Specified by:
toRaDec
in interface JsCoord
- Throws:
java.lang.Exception