    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class FITSWCS.TrigD

    java.lang.Object
       |
       +----FITSWCS.TrigD

public class TrigD
extends Object

This class provides trigonometric or inverse trigonometric functions which take or return angular arguments in decimal degrees.

These routines explicitly handle angles which are a multiple of 90 degrees returning an exact result.

COPYRIGHT NOTICE

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Correspondence concerning WCSLIB may be directed to:

         Internet email: mcalabre@atnf.csiro.au
         Postal address: Dr. Mark Calabretta,
                         Australia Telescope National Facility,
                         P.O. Box 76,
                         Epping, NSW, 2121,
                         AUSTRALIA

Correspondence concerning the Java implementation may be directed to Raymond L. Plante (rplante@ncsa.uiuc.edu).

##

d2r
PI
r2d

##

TrigD()

##

acos(double)
asin(double)
atan(double)
atan2(double, double)
cos(double)
sin(double)
tan(double)

##

PI

      public final static double PI

d2r

      public final static double d2r

r2d

      public final static double r2d

##

TrigD

      public TrigD()

##

cos

      public final static double cos(double angle)

sin

      public final static double sin(double angle)

tan

      public final static double tan(double angle)

acos

      public final static double acos(double v)

asin

      public final static double asin(double v)

atan

      public final static double atan(double v)

atan2

      public final static double atan2(double y,
                                       double x)

    All Packages  Class Hierarchy  This Package  Previous  Next  Index