acos(float)

Gets the arc cosine of a value.

float acos(
    float fValue
);

Parameters

fValue

Value to return the arc cosine of.


Description

Arc cosine is the inverse of the sin function. Thus, given an fValue that is some ratio of the adjacent side to the hypotenuse of a right triangle, the acos function returns the appropriate angle (in degrees) of that triangle. The acos function returns a value from 0.0 to 180.0.



Version

1.31

See Also

functions: asin | atan | cos | GetAngleBetweenLocations | sin | tan
categories: Math Functions


 author: Charles Feduke, additional contributor(s): Paul Catalano