Repository navigation
Is pole point inside - #510
Conversation
|
For this implementation, do we consider the case where one of the corners of our face is either pole point? |
Good catch. So technically "one of the corners of our face is pole point" means the pole point is not inside the polygon. But for our next step, we do want to specify this issue. So I am not so sure about how to handle this case. We have two choices
I wonder what's your opinion about it. |
After thinking about it, probably the second "relax" solution is more suitable |
I'm fine with either approach, we could add a parameter that switches between having the point strictly within or to include the case where it's one of the edge nodes. |
philipc2
left a comment
There was a problem hiding this comment.
A couple small suggestions! looking good!
philipc2
left a comment
There was a problem hiding this comment.
looking good, once we get the tests passing I think it should be ready to merge.
Closes #486
Overview
_is_pole_point_inside_polygonto determine if a pole point is inside a polygon.ValueErrorif the pole is neither 'North' nor 'South'.want to check if the North pole is inside a polygon, the polygon should not reach the south hemisphere.
Expected Usage
PR Checklist
General
Testing
Documentation
_) and have been added todocs/internal_api/index.rstdocs/user_api/index.rst