ArcGIS Pro 2.7 API Reference Guide
ConstructPointFromAngleDistance Method (GeometryEngine)
Example 

ArcGIS.Core.Geometry Namespace > GeometryEngine Class : ConstructPointFromAngleDistance Method
The input point.
The angle in radians measured counterclockwise from the horizontal axis.
The distance. Cannot be negative. If the distance is equal to zero, then the output point will have the same xy-coordinates as the input point.
(Optional) The spatial reference of the output point. The default value is null.
Constructs a point at a specified angle from the horizontal axis and a specified distance away from the input point.
Syntax
Public Function ConstructPointFromAngleDistance( _
   ByVal inputPoint As MapPoint, _
   ByVal angle As Double, _
   ByVal distance As Double, _
   Optional ByVal spatialReference As SpatialReference _
) As MapPoint

Parameters

inputPoint
The input point.
angle
The angle in radians measured counterclockwise from the horizontal axis.
distance
The distance. Cannot be negative. If the distance is equal to zero, then the output point will have the same xy-coordinates as the input point.
spatialReference
(Optional) The spatial reference of the output point. The default value is null.

Return Value

A point at the specified angle and distance.
Exceptions
ExceptionDescription
The input point is null or empty.
The distance is less than zero.
Remarks
No z, m or id attributes are derived in the output point.
Example
MapPoint inPoint = MapPointBuilder.CreateMapPoint(3, 4);
double angle = 0;
double distance = 10;

MapPoint outPoint = GeometryEngine.Instance.ConstructPointFromAngleDistance(inPoint, angle, distance);
// outPoint.X = 13
// outPoint.Y = 4

SpatialReference sr = SpatialReferences.WGS84;
inPoint = MapPointBuilder.CreateMapPoint(0, 0, sr);
angle = Math.PI;
distance = 1;

outPoint = GeometryEngine.Instance.ConstructPointFromAngleDistance(inPoint, angle, distance, sr);
// outPoint.X = -1
// outPoint.Y = 0
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

GeometryEngine Class
GeometryEngine Members