windrobin / winforms-geplugin-control-library

Automatically exported from code.google.com/p/winforms-geplugin-control-library
GNU General Public License v3.0
0 stars 1 forks source link

Maths.Destination #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get the bearing between 2 points
2. Use the bearing in Maths.Destination to obtain a new coordinate
3. Display the new coordinate as PMs

What is the expected output? What do you see instead?
The new PMs were expected to be on the initial bearing

What version of the product are you using? On what operating system?
newest release with win7

Please provide any additional information below.

See the attached file for a visual example...

Original issue reported on code.google.com by tho...@gmail.com on 12 Feb 2012 at 6:59

Attachments:

GoogleCodeExporter commented 9 years ago
Update.
When using the code posted in issue 49, I get the expected result.

Original comment by tho...@gmail.com on 12 Feb 2012 at 8:30

Attachments:

GoogleCodeExporter commented 9 years ago
Ah, sorry the line 

bearing = Maths.ConvertRadiansToDegrees(bearing);

was commented out whilst I was testing, will fix this now.

Original comment by fraser.c...@gmail.com on 12 Feb 2012 at 11:57

GoogleCodeExporter commented 9 years ago

Original comment by fraser.c...@gmail.com on 13 Feb 2012 at 12:10