OpenLayer Offline Manual

OpenLayer | Collision Collision Detailed information about a collision
Collision( | const Line &aSegment, const Line &bSegment )
Creates a new collision object and specifies the colliding line segments.
Collision()
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
GetNormal | Returns the normal of a colliding object at the collision point
GetAllPoints | Returns all collision points
GetAllSegments | Returns all pairs of colliding segments
Back to the main page of the manual Questions about Collision? Click here.