Collision

Detailed information about a collision

const Line &aSegment, const Line &bSegment )

Creates a new collision object and specifies the colliding line segments.


Using the default constructor means that no collision has happened.

Member functions
GetPoint
Returns the exact point of the collision
GetSegment
Returns the specified colliding line segment
IsCollision
Returns true if a collision has really happened


Questions about Collision? Click here.