2D collision detection algorithms. More...
#include <gelCollision.h>
Static Public Member Functions | |
static bool | collides (const GelCircle &cir1, const GelCircle &cir2) |
Tests for a collision between two circles. | |
static bool | collides (const GelCircle &cir, const GelAABB &box) |
Tests for a collision between a circle and an axis-aligned bounding box. | |
static bool | collides (const GelCircle &cir, const GelOBB &box) |
static bool | collides (const GelCircle &cir, const GelRay &ray) |
static bool | collides (const GelCircle &cir, const GelCdtPoint &point) |
Tests for a collision between a circle and a point. | |
static bool | collides (const GelAABB &box1, const GelAABB &box2) |
Tests for a collision between two axis-aligned bounding boxes. | |
static bool | collides (const GelAABB &box, const GelCircle &cir) |
Tests for a collision between an axis-aligned bounding box and a circle. | |
static bool | collides (const GelAABB &box1, const GelOBB &box2) |
static bool | collides (const GelAABB &box, const GelRay &ray) |
static bool | collides (const GelAABB &box, const GelCdtPoint &point) |
Tests for a collision between an axis-aligned bounding box and a point. | |
static bool | collides (const GelOBB &box1, const GelOBB &box2) |
static bool | collides (const GelOBB &box, const GelCircle &cir) |
static bool | collides (const GelOBB &box, const GelRay &ray) |
static bool | collides (const GelOBB &box, const GelCdtPoint &point) |
static bool | collides (const GelRay &ray1, const GelRay &ray2) |
static bool | collides (const GelRay &ray, const GelCircle &cir) |
static bool | collides (const GelRay &ray, const GelOBB &box) |
static bool | collides (const GelRay &ray, const GelCdtPoint &point) |
static bool | collides (const GelCdtPoint &point1, const GelCdtPoint &point2) |
Tests for a collision between two points. | |
static bool | collides (const GelCdtPoint &point, const GelCircle &cir) |
Tests for a collision between a point and a circle. | |
static bool | collides (const GelCdtPoint &point, const GelAABB &box) |
Tests for a collision between a point and an axis-aligned bounding box. | |
static bool | collides (const GelCdtPoint &point, const GelOBB &box) |
static bool | collides (const GelCdtPoint &point, const GelRay &ray) |
2D collision detection algorithms.
Tests for a collision between two circles.
cir1 | : A bounding circle. |
cir2 | : Another bounding circle. |
Tests for a collision between a circle and an axis-aligned bounding box.
cir | : A bounding circle. |
box | : An axis-aligned bounding box. |
static bool gel::GelCollision::collides | ( | const GelCircle & | cir, |
const GelCdtPoint & | point | ||
) | [static] |
Tests for a collision between a circle and a point.
cir | : A bounding circle. |
point | : A point. |
Tests for a collision between two axis-aligned bounding boxes.
box1 | : An axis-aligned bounding box. |
box2 | : Another axis-aligned bounding box. |
Tests for a collision between an axis-aligned bounding box and a circle.
This is a convenience function.
static bool gel::GelCollision::collides | ( | const GelAABB & | box, |
const GelCdtPoint & | point | ||
) | [static] |
Tests for a collision between an axis-aligned bounding box and a point.
box | : An axis-aligned bounding box. |
point | : A point. |
static bool gel::GelCollision::collides | ( | const GelOBB & | box, |
const GelCdtPoint & | point | ||
) | [static] |
static bool gel::GelCollision::collides | ( | const GelRay & | ray, |
const GelCdtPoint & | point | ||
) | [static] |
static bool gel::GelCollision::collides | ( | const GelCdtPoint & | point1, |
const GelCdtPoint & | point2 | ||
) | [static] |
Tests for a collision between two points.
point1 | : A point. |
point2 | : Another point. |
static bool gel::GelCollision::collides | ( | const GelCdtPoint & | point, |
const GelCircle & | cir | ||
) | [static] |
Tests for a collision between a point and a circle.
This is a convenience function.
static bool gel::GelCollision::collides | ( | const GelCdtPoint & | point, |
const GelAABB & | box | ||
) | [static] |
Tests for a collision between a point and an axis-aligned bounding box.
This is a convenience function.
static bool gel::GelCollision::collides | ( | const GelCdtPoint & | point, |
const GelOBB & | box | ||
) | [static] |
static bool gel::GelCollision::collides | ( | const GelCdtPoint & | point, |
const GelRay & | ray | ||
) | [static] |
API Documentation by Mark D. Procarione | Generated by |