geodesy icon indicating copy to clipboard operation
geodesy copied to clipboard

How to "does this point belongs to this sector" ?

Open OhSoGood opened this issue 4 years ago • 2 comments

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!

OhSoGood avatar Jan 19 '21 14:01 OhSoGood

Could you clarify what you mean by a 'sector'?

chrisveness avatar Jan 19 '21 16:01 chrisveness

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.

OhSoGood avatar Jan 19 '21 17:01 OhSoGood