You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to calculate the difference between two bearings. Downstream needs to create a normalizing function which can determine that the difference between -179.0 and 179.0, is 2 degrees.
other name ideas for the function. i like extending the bearing function with bearingShortest*. am not preferring "rotationDiff" because rotation is a difference.
kmadsen
changed the title
TurfMeasurements should have shortestBearingDiff for negative bearing handling
TurfMeasurements should have function for determining bearing deltas
Jun 7, 2021
kmadsen
changed the title
TurfMeasurements should have function for determining bearing deltas
TurfMeasurements should have a function for determining bearing deltas
Jun 7, 2021
TurfMeasurement.bearing(Point point1, Point point2
This function can return -180.0, 180.0.
In order to calculate the difference between two bearings. Downstream needs to create a normalizing function which can determine that the difference between -179.0 and 179.0, is 2 degrees.
This function should be proven with unit tests.
The text was updated successfully, but these errors were encountered: