geodesy
geodesy copied to clipboard
How to "does this point belongs to this sector" ?
Hi,
A beginner with geodesy computations, I've to check if a point, known by its latitude and longitude, belongs to a sector, defined by the latitude and longitude of its origin and its start and end azimuths. I'm lost on how to do this. Could anybody help me? Code or pseudo-code would be very welcome... Thank you!
Could you clarify what you mean by a 'sector'?
Like the pie within a circle, but with no radius limit. Actually, with just polar coordinates that's obvious (compute bearing to point, then compare angles). But with vector I'm wondering how to achieve that.