ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Geometry Namespace / AngularUnit Class / ConvertToRadians Method
Angle in the units of this instance.
Example

ConvertToRadians Method
Converts the angle to radians.
Syntax
public double ConvertToRadians( 
   double angle
)

Parameters

angle
Angle in the units of this instance.

Return Value

Angle converted to radians.
Example
AngularUnit - Convert between degrees and radians
// convert 45 degrees to radians
double radians = AngularUnit.Degrees.ConvertToRadians(45);

// convert PI to degrees
double degrees = AngularUnit.Degrees.ConvertFromRadians(Math.PI);
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also