Convert declination into theta
Convert declination into theta
: (Double) declination coordinate in degree
: (Boolean) If true, assume the input is in radian. Otherwise make the conversion deg2rad. Default is false.
(Double) theta coordinate in radian
Convert a Point3D with euclidean coordinates in a Point3D with spherical coordinates.
Convert a Point3D with euclidean coordinates in a Point3D with spherical coordinates.
: (Point3D) Input Point3D with euclidean coordinates.
(Point3D) The same point but with spherical coordinates.
Convert right ascension into phi
Convert right ascension into phi
: (Double) RA coordinate in degree
: (Boolean) If true, assume the input is in radian. Otherwise make the conversion deg2rad. Default is false.
(Double) phi coordinate in radian
Convert a Point3D with spherical coordinates in a Point3D with euclidean coordinates.
Convert a Point3D with spherical coordinates in a Point3D with euclidean coordinates.
: (Point3D) Input Point3D with spherical coordinates.
(Point3D) The same point but with euclidean coordinates.