Package gaiasky.util.math
Class Trigonometry
- java.lang.Object
-
- gaiasky.util.math.Trigonometry
-
- All Implemented Interfaces:
ITrigonometry
public class Trigonometry extends java.lang.Object implements ITrigonometry
Uses the defaultMathlibrary. Very accurate but not the fastest in the West.
-
-
Constructor Summary
Constructors Constructor Description Trigonometry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleacos(double angle)doubleasin(double angle)doubleatan(double angle)doublecos(double angle)doublesin(double angle)doubletan(double angle)
-
-
-
Method Detail
-
sin
public double sin(double angle)
- Specified by:
sinin interfaceITrigonometry
-
asin
public double asin(double angle)
- Specified by:
asinin interfaceITrigonometry
-
cos
public double cos(double angle)
- Specified by:
cosin interfaceITrigonometry
-
acos
public double acos(double angle)
- Specified by:
acosin interfaceITrigonometry
-
tan
public double tan(double angle)
- Specified by:
tanin interfaceITrigonometry
-
atan
public double atan(double angle)
- Specified by:
atanin interfaceITrigonometry
-
-