GDF 26.1a
Game Development Framework - https://gdf.acits.nl
Laden...
Zoeken...
Niets gevonden
Collisions Class Referentie

Static Public Members

static bool PointInAABB (AABB aabb, Point point)
static Point ClosestPoint (AABB aabb, Point point)
static float Clamp (float value, float max, float min)
static bool PointOnLine (Point p, Line line)
static Point ClosestPoint (Line ab, Point c, out float t)
static Point ClosestPoint (Line ab, Point c)
static bool PointOnPlane (Point unknown, Plane p)
static float DistanceFromPlane (Point unknown, Plane p)
static Point ClosestPoint (Plane p, Point unknown, bool normalized=true)
static Point IntersectPlanes (Plane p1, Plane p2, Plane p3)
static float Max (float value, float max)
static bool PointOnRay (Point p, Ray r)
static Point ClosestPoint (Ray r, Point c)
static bool PointInSphere (Sphere sphere, Point p)
static Point ClosestPoint (Sphere sphere, Point p)
static bool PointInTriangle (Point _p, Triangle t)
static bool PointInTriangle (Triangle t, Point p)
static Point ClosestPointTriangle (Point _p, Triangle t)
static Point ClosestPointTriangle (Triangle t, Point p)
static bool SphereIntersect (Triangle triangle, Sphere sphere)
static bool SphereIntersect (Sphere sphere, Triangle triangle)
static bool TriangleAABBIntersect (Triangle triangle, AABB aabb)
static bool TriangleAABBIntersect (AABB aabb, Triangle triangle)
static bool PlaneTriangleIntersection (Triangle triangle, Plane plane)
static bool PlaneTriangleIntersection (Plane plane, Triangle triangle)
static bool TriangleTriangleIntersection (Triangle t1, Triangle t2)
static bool RaycastTriangle (Ray ray, Triangle triangle, out float t)
static float RaycastTriangle (Ray ray, Triangle triangle)
static bool RaycastTriangle (Ray ray, Triangle triangle, out Point p)
static bool LinecastTriangle (Line line, Triangle triangle, out Point result)
static bool Intersects (Plane[] frustum, Point point)
static bool Intersects (Point point, Plane[] frustum)
static bool Intersects (Plane[] frustum, Sphere sphere)
static bool Intersects (Sphere sphere, Plane[] frustum)
static bool Intersects (AABB aabb, Plane[] frustum)
static bool Intersects (Plane[] frustum, AABB aabb)

Documentatie van functie members

◆ Clamp()

float Collisions.Clamp ( float value,
float max,
float min )
static

◆ ClosestPoint() [1/6]

Point Collisions.ClosestPoint ( AABB aabb,
Point point )
static

◆ ClosestPoint() [2/6]

Point Collisions.ClosestPoint ( Line ab,
Point c )
static

◆ ClosestPoint() [3/6]

Point Collisions.ClosestPoint ( Line ab,
Point c,
out float t )
static

◆ ClosestPoint() [4/6]

Point Collisions.ClosestPoint ( Plane p,
Point unknown,
bool normalized = true )
static

◆ ClosestPoint() [5/6]

Point Collisions.ClosestPoint ( Ray r,
Point c )
static

◆ ClosestPoint() [6/6]

Point Collisions.ClosestPoint ( Sphere sphere,
Point p )
static

◆ ClosestPointTriangle() [1/2]

Point Collisions.ClosestPointTriangle ( Point _p,
Triangle t )
static

◆ ClosestPointTriangle() [2/2]

Point Collisions.ClosestPointTriangle ( Triangle t,
Point p )
static

◆ DistanceFromPlane()

float Collisions.DistanceFromPlane ( Point unknown,
Plane p )
static

◆ IntersectPlanes()

Point Collisions.IntersectPlanes ( Plane p1,
Plane p2,
Plane p3 )
static

◆ Intersects() [1/6]

bool Collisions.Intersects ( AABB aabb,
Plane[] frustum )
static

◆ Intersects() [2/6]

bool Collisions.Intersects ( Plane[] frustum,
AABB aabb )
static

◆ Intersects() [3/6]

bool Collisions.Intersects ( Plane[] frustum,
Point point )
static

◆ Intersects() [4/6]

bool Collisions.Intersects ( Plane[] frustum,
Sphere sphere )
static

◆ Intersects() [5/6]

bool Collisions.Intersects ( Point point,
Plane[] frustum )
static

◆ Intersects() [6/6]

bool Collisions.Intersects ( Sphere sphere,
Plane[] frustum )
static

◆ LinecastTriangle()

bool Collisions.LinecastTriangle ( Line line,
Triangle triangle,
out Point result )
static

◆ Max()

float Collisions.Max ( float value,
float max )
static

◆ PlaneTriangleIntersection() [1/2]

bool Collisions.PlaneTriangleIntersection ( Plane plane,
Triangle triangle )
static

◆ PlaneTriangleIntersection() [2/2]

bool Collisions.PlaneTriangleIntersection ( Triangle triangle,
Plane plane )
static

◆ PointInAABB()

bool Collisions.PointInAABB ( AABB aabb,
Point point )
static

◆ PointInSphere()

bool Collisions.PointInSphere ( Sphere sphere,
Point p )
static

◆ PointInTriangle() [1/2]

bool Collisions.PointInTriangle ( Point _p,
Triangle t )
static

◆ PointInTriangle() [2/2]

bool Collisions.PointInTriangle ( Triangle t,
Point p )
static

◆ PointOnLine()

bool Collisions.PointOnLine ( Point p,
Line line )
static

◆ PointOnPlane()

bool Collisions.PointOnPlane ( Point unknown,
Plane p )
static

◆ PointOnRay()

bool Collisions.PointOnRay ( Point p,
Ray r )
static

◆ RaycastTriangle() [1/3]

float Collisions.RaycastTriangle ( Ray ray,
Triangle triangle )
static

◆ RaycastTriangle() [2/3]

bool Collisions.RaycastTriangle ( Ray ray,
Triangle triangle,
out float t )
static

◆ RaycastTriangle() [3/3]

bool Collisions.RaycastTriangle ( Ray ray,
Triangle triangle,
out Point p )
static

◆ SphereIntersect() [1/2]

bool Collisions.SphereIntersect ( Sphere sphere,
Triangle triangle )
static

◆ SphereIntersect() [2/2]

bool Collisions.SphereIntersect ( Triangle triangle,
Sphere sphere )
static

◆ TriangleAABBIntersect() [1/2]

bool Collisions.TriangleAABBIntersect ( AABB aabb,
Triangle triangle )
static

◆ TriangleAABBIntersect() [2/2]

bool Collisions.TriangleAABBIntersect ( Triangle triangle,
AABB aabb )
static

◆ TriangleTriangleIntersection()

bool Collisions.TriangleTriangleIntersection ( Triangle t1,
Triangle t2 )
static

De documentatie voor deze klasse is gegenereerd op basis van het volgende bestand: