C# Class BEPUphysics.BroadPhaseSystems.Hierarchies.DynamicHierarchyQueryAccelerator

Interface to the DynamicHierarchy's volume query systems.
Inheritance: IQueryAccelerator
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Méthode Description
GetEntries ( Microsoft.Xna.Framework.BoundingBox box, IList entries ) : void

Collects all entries with bounding boxes which intersect the given bounding box.

GetEntries ( BoundingFrustum frustum, IList entries ) : void

Collects all entries with bounding boxes which intersect the given frustum.

GetEntries ( BoundingSphere sphere, IList entries ) : void

Collects all entries with bounding boxes which intersect the given sphere.

RayCast ( Microsoft.Xna.Framework.Ray ray, IList entries ) : bool

Finds all intersections between the ray and broad phase entries.

RayCast ( Microsoft.Xna.Framework.Ray ray, float maximumLength, IList entries ) : bool

Finds all intersections between the ray and broad phase entries.

Private Methods

Méthode Description
DynamicHierarchyQueryAccelerator ( DynamicHierarchy hierarchy ) : System.Collections.Generic

Method Details

GetEntries() public méthode

Collects all entries with bounding boxes which intersect the given bounding box.
public GetEntries ( Microsoft.Xna.Framework.BoundingBox box, IList entries ) : void
box Microsoft.Xna.Framework.BoundingBox Bounding box to test against the world.
entries IList Entries of the space which intersect the bounding box.
Résultat void

GetEntries() public méthode

Collects all entries with bounding boxes which intersect the given frustum.
public GetEntries ( BoundingFrustum frustum, IList entries ) : void
frustum BoundingFrustum Frustum to test against the world.
entries IList Entries of the space which intersect the frustum.
Résultat void

GetEntries() public méthode

Collects all entries with bounding boxes which intersect the given sphere.
public GetEntries ( BoundingSphere sphere, IList entries ) : void
sphere BoundingSphere Sphere to test against the world.
entries IList Entries of the space which intersect the sphere.
Résultat void

RayCast() public méthode

Finds all intersections between the ray and broad phase entries.
public RayCast ( Microsoft.Xna.Framework.Ray ray, IList entries ) : bool
ray Microsoft.Xna.Framework.Ray Ray to test against the structure.
entries IList Entries which have bounding boxes that overlap the ray.
Résultat bool

RayCast() public méthode

Finds all intersections between the ray and broad phase entries.
public RayCast ( Microsoft.Xna.Framework.Ray ray, float maximumLength, IList entries ) : bool
ray Microsoft.Xna.Framework.Ray Ray to test against the structure.
maximumLength float Maximum length of the ray in units of the ray's direction's length.
entries IList Entries which have bounding boxes that overlap the ray.
Résultat bool