# Android Utililty Methods Trigonometric Functions

List of utility methods to do Trigonometric Functions

## Description

The list of methods to do Trigonometric Functions are organized into topic(s).

## Method

 float arctan(float opp, float adj)Get the desired angle of ARCTAN from the given opp and adj ```if (adj < 0.0) return -(float) (Math.atan(opp / adj) * TO_DEGREES); else return -(float) (Math.atan(opp / adj) * TO_DEGREES) + 180; ``` float arctan(float value)arctan ```return -(float) (Math.atan(value) * TO_DEGREES) + 180; ``` float cos(float degree)Return the value of cos(degree) ```if (COSINE == null) initialise(); int deg = (int) constrainAngle(degree); return COSINE[deg]; ``` float cosf(float degree)Return the value of cos(degree) ```return FloatMath.cos(constrainAngle(degree)); ``` float cosr(float radians)Return the value of cos(radians) ```if (COSINE == null) initialise(); return COSINE[(int) constrainAngle(radians * TO_DEGREES)]; ``` float sin(float degree)Return the value of sin(degree) ```if (SINE == null) initialise(); int deg = (int) constrainAngle(degree); return SINE[deg]; ``` float sinf(float degree)Return the value of sin(degree) ```return FloatMath.sin(constrainAngle(degree)); ``` float sinr(float radians)Return the value of sin(radians) ```if (SINE == null) initialise(); return SINE[(int) constrainAngle(radians * TO_DEGREES)]; ``` float tan(float degree)Return the value of tan(degree) ```if (TANGENT == null) initialise(); return TANGENT[(int) constrainAngle(degree)]; ``` float tanf(float degree)Return the value of tan(degree) ```return (float) Math.tan(constrainAngle(degree)); ```