NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Math.Acos

Returns the arc cosine (in radians) of a specified number. The arc cosine is the angle whose cosine is the specified number.

[Visual Basic]
Public Shared Function Acos( _
   ByVal d As Double _
) As Double
[C#]
public static double Acos(
   double d
);
[C++]
public: static double Acos(
   double d
);
[JScript]
public static function Acos(
   d : double
) : double;

Parameters

d
A number representing a cosine,-1 d 1.

Return Value

Returns an angle q, measured in radians, such that 0 q . Returns NaN if d <-1 or d > 1.

Remarks

To convert the result from radians to degrees, multiply it by 180/.

See Also

Math Class | Math Members | System Namespace