Add intersection functions to Polygon, Line, Circle #169
Labels
submodule:circle
submodule:geometry
submodule:polygon
type:new_api
Adds new functionalities to the project
All shapes have bool collision functions that return
True
if they overlap with another shape, both of matching, unmatching and general (collideswith) type.We should implement similar intersection methods, but these will return:
0
(or infinite) intersections were foundThe methods would be the following:
I'm able to start this series of PRs by adding the base intersection functions ( that will be different to the ones we have now) as well as some of these complete implementations right away, just to kickstart it all.
The text was updated successfully, but these errors were encountered: