public final class FastMath extends Object
Constructor and Description |
---|
FastMath() |
Modifier and Type | Method and Description |
---|---|
static double |
acos(double d)
This method calculates the arc cosine of x in radians.
|
static double |
asin(double d)
This method calculates the arc sine of x in radians.
|
static double |
atan(double s)
Returns the arc tangent of an angle.
|
static double |
atan2(double y,
double x)
This method calculates the arc tangent of y/x in radians, using
the signs of the two arguments to determine the quadrant of the
result.
|
static double |
cos(double d)
Returns the trigonometric cosine of an angle.
|
static double |
sin(double d)
Returns the trigonometric sine of an angle.
|
public static final double atan2(double y, double x)
public static double asin(double d)
public static double acos(double d)
public static final double atan(double s)
public static final double sin(double d)
public static final double cos(double d)