A shape collision algorithm for an infinite 2D board of shapes that returns a Dictionary<int, List>() of all intersections between shapes. Each shape has a unique ID as an integer. Entry way point is Program.cs
Return is in the format:
[SHAPE ID] => ([SHAPE ID INTERSECTED WITH], ..., [SHAPE ID INTERSECTED WITH])
No installation necessary.
Usage is through the ad hoc World class.
List<Shape>() // Add Shapes to this list.
Dictionary<int, List<int>>() // Return of all intersections.
Additional classes, methods, refactoring and optimization always welcome.
Free to use.