I'm porting a tool from R to be run in a managed ArcGIS Pro instance (no access to R). In the script, destination points are calculated from a known origin based on bearing and distance.
The script relies on the geosphere destPoint() method to do it, and is invoked like this:
x = destPoint(origin, bearing, distance)
x is a location object with .latitude and .longitude properties that return as floats for use in further processing.
This seems like a super straightforward geometric problem but I am struggling to find how to use ArcPy to accomplish it. For initial testing purposes I gave up and just pip installed GeoPy, using geopy.distance.distance(unit=distance).destination((origin.Y, origin.X), bearing) and it works beautifully but I do not like delivering stuff with janky 3rd party dependencies.
How do I do this in ArcPy without re-writing half of GeoPy?