MapPoint ConstructPointFromAngleDistance( MapPoint inputPoint, double angle, double distance, SpatialReference spatialReference )
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.