ArcGIS Pro 2.7 API Reference Guide
SetPolarComponents Method
Example 

ArcGIS.Core.Geometry Namespace > Coordinate3D Structure : SetPolarComponents Method
Sets the components of the Coordinate3D from polar components. Angles are in radians.
Syntax
public void SetPolarComponents( 
   double azimuth,
   double inclination,
   double magnitude
)
Public Sub SetPolarComponents( _
   ByVal azimuth As Double, _
   ByVal inclination As Double, _
   ByVal magnitude As Double _
) 

Parameters

azimuth
inclination
magnitude
Remarks
Sets the x-component, y-component, and z-component based on the given azimuth, inclination, and magnitude. The azimuth and inclination are measured in radians.

Coordinate3D

Example
Coordinate3D polarVector = new Coordinate3D(0, 7, 0);
Tuple<double, double, double> polarComponents = polarVector.QueryPolarComponents();
// polarComponents.Item1 = 0  (azimuth)
// polarComponents.Item2 = 0 (inclination)
// polarComponents.Item3 = 7 (magnitude)

polarVector.SetPolarComponents(Math.PI / 4, Math.PI / 2, 8);
polarComponents = polarVector.QueryComponents();
// polarComponents.Item1 = 0 (x)
// polarComponents.Item2 = 0 (y)
// polarComponents.Item3 = 7 (z)
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Coordinate3D Structure
Coordinate3D Members