Class JsCoordSph

java.lang.Object
  extended byJsCoordSph
All Implemented Interfaces:
JsCoord

public class JsCoordSph
extends java.lang.Object
implements JsCoord


Constructor Summary
JsCoordSph(double Radius, double Colat, double Slon)
           
 
Method Summary
 double Colat()
           
 double Radius()
           
 double Slon()
           
 JsCoordCyl toCyl()
           
 JsCoordGeo toGeo(double radius, double flatenning)
           
 JsCoordLat toLat()
           
 JsCoordRaDec toRaDec()
           
 JsCoordRec toRec()
           
 JsCoordSph toSph()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsCoordSph

public JsCoordSph(double Radius,
                  double Colat,
                  double Slon)
Method Detail

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