barbacbd / nautical

MIT License
7 stars 3 forks source link

Update in geometry #14

Closed barbacbd closed 2 years ago

barbacbd commented 2 years ago

Update This function to provide the users with the ability to determine if their point lies within a complex or simple geometry. Accept a set of ordered points in the clockwise direction. If there are just two points, create a bounding box using the min, min to max, max (essentially creating a square) and check that way. Less than 2 points returns False.

Create the unit tests to test this functionality.