Implement polygon shape
Closed this issue · 1 comments
tvoinarovskyi commented
- Create a polygon class in engine/geometry/polygon.py which implements BaseShape abstract class (with
point in shape
,distance
andintersection
tests). - Add tests for the class to tests/testgeometry/test_polygon.py
tvoinarovskyi commented
Added triangle special case for containment and distance checks