Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OhSoGood opened this issue Jan 19, 2021 · 2 comments
Open

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

OhSoGood opened this issue Jan 19, 2021 · 2 comments

Comments

@OhSoGood
Copy link

OhSoGood commented Jan 19, 2021

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!

@chrisveness
Copy link
Owner

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

@OhSoGood
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants