ES3D::IntersectionMethodsx Class Reference

#include <IntersectionMethodsx.h>

List of all members.

Static Public Member Functions

static GLboolean linePlaneIntersectionx (const FixedPointx p[3], const FixedPointx q[3], const FixedPointx a[3], const FixedPointx b[3], const FixedPointx c[3], FixedPointx &t, FixedPointx &u, FixedPointx &v, FixedPointx &w)
static GLboolean triangleTriangleIntersectionx (const FixedPointx t0[3 *3], const FixedPointx t1[3 *3])


Detailed Description

This class contains typical intersection methods.


Member Function Documentation

static GLboolean ES3D::IntersectionMethodsx::linePlaneIntersectionx ( const FixedPointx  p[3],
const FixedPointx  q[3],
const FixedPointx  a[3],
const FixedPointx  b[3],
const FixedPointx  c[3],
FixedPointx t,
FixedPointx u,
FixedPointx v,
FixedPointx w 
) [inline, static]

Checks the intersection between a line and a plane.

Parameters:
p starting point where the line goes through
q end point of the line
a first point of the plane
b second point of the plane
c third point of the plane
t variable to store t with P + (Q-P)*t
u barycentric coordinate u
v barycentric coordinate v
w barycentric coordinate w
Returns:
true, if there is an intersection

static GLboolean ES3D::IntersectionMethodsx::triangleTriangleIntersectionx ( const FixedPointx  t0[3 *3],
const FixedPointx  t1[3 *3] 
) [inline, static]

Triangle vs. Triangle intersection test.

Parameters:
t0 the first triangle
t1 the second triangle
Returns:
true, if an intersection did occur


The documentation for this class was generated from the following file:
Generated on Sat May 10 16:30:55 2008 for ES 3D Game SDK Documentation by  doxygen 1.4.7