Skip to content

Handle vertical elevation angles - #316

Open
yuefdev wants to merge 1 commit into
tkrajina:devfrom
yuefdev:fix/vertical-elevation-angle
Open

yuefdev wants to merge 1 commit into
tkrajina:devfrom
yuefdev:fix/vertical-elevation-angle

Conversation

@yuefdev

@yuefdev yuefdev commented Oct 18, 2026

Copy link
Copy Markdown

Use atan2 so points at the same latitude and longitude can have vertical elevation angles. Ascents currently return 0° instead of 90°, and descents return 0° instead of -90°.

The regression covers ascent, descent and identical points through both APIs, in degrees and radians. The ascent and descent cases fail against the old function. All 153 tests previously passed on this commit; the focused regression passes again.

Strict mypy still reports the 19 errors also present on the base branch.

Signed-off-by: Yusuf Efe <120668197+yuefdev@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

1 participant