Thread: Nav library
View Single Post
  #1 (permalink)  
Old 03-04-2010, 07:22 PM
derez's Avatar
derez derez is offline
Basic4ppc Expert
 
Join Date: May 2007
Posts: 916
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default Nav library

Nav is a library with some algorithms for use in a navigation application.

The names of the main methods are:
  • GeoDistanceBearing
  • GeoDistance
  • UTMDistanceBearing
  • FlatArea
  • FlatArea2
  • SphericalArea
  • SphericalArea2
  • GeoRouteLength
  • GeoRouteLength2
  • UTMRouteLength
  • UTMRouteLength2

Tha attached file includes Help, example program and the cs file.

Edit: version 1.1 includes the function Atan2 which helps to define azimuth (the same as Atan but for the whole circle).

Edit: version 1.2 includes Map method for getting the x-y coordinates for image map, based on four points data. enables the use of large maps which are not rectangular , or even rotated.

Edit: Version 1.31 includes MagneticData class, provides magnetic declination (variation), Inclination and Grid-Variation for point defined by its coordinates.
Attached Images
File Type: jpg kineret2.jpg (73.2 KB, 103 views)
Attached Files
File Type: zip NAV1.3.zip (94.0 KB, 81 views)
__________________
David Erez
Ramat Hasharon, Israel

Last edited by derez : 08-26-2010 at 05:28 PM.
Reply With Quote