paulmach / orb

Types and utilities for working with 2d geometry in Golang
MIT License
910 stars 103 forks source link

Add functions to calculate points based on distance and bearing #76

Closed thzinc closed 2 years ago

thzinc commented 2 years ago

Added support for calculating a new point from a given point, bearing, and distance as well as a derivative function to calculate a point and bearing along a LineString given distance.


I looked for a guidelines for contributing, but didn't find any for this project. I'm open to discussion and feedback. Thanks for making this project available!

paulmach commented 2 years ago

Thank you. I didn't check it very hard, but looks good.

paulmach commented 2 years ago

released as part of v0.4.0