-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Robust implementation of
_point_within_gca_cartesian
using only Car…
…tesian coordinates (#1112) * initial commit * initial implementation * initial testcase setup * required fix for ` _angle_of_2_vectors` * update ` _angle_of_2_vectors` to return degree in 0~360 * update `_pt_on_gca` * `test_populate_bounds_normal` failed when using njit * update _populate_face_latlon_bound * fix tests and add test case for case at pole * add test case exactly at pole * add condition to check if point is almost exactly equal to one of the end points * add general north and south pole tests * add tests for north and south pole * add extra test case for north and south pole * fix assert * add edge case test * Add error tolerance for values 0.0 * run pre-commit * remove debugging code and use njit --------- Co-authored-by: Hongyu Chen <[email protected]>
- Loading branch information
1 parent
e1d4893
commit 79275c5
Showing
10 changed files
with
367 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.