Package sabx10 :: Package utils :: Module sabx_seg_closest
[hide private]
[frames] | no frames]

Module sabx_seg_closest

source code

Find the closest point in a segment.

Functions [hide private]
 
search_seg(sabx, seg_id, lat, lon)
Search the indicated segment and find which waypoint is closest to the given (lat,lon) point.
source code
Variables [hide private]
  __package__ = 'sabx10.utils'
Function Details [hide private]

search_seg(sabx, seg_id, lat, lon)

source code 

Search the indicated segment and find which waypoint is closest to the given (lat,lon) point. Print the result.