C# Class BEPUphysics.BroadPhaseSystems.Hierarchies.DynamicHierarchyQueryAccelerator

Interface to the DynamicHierarchy's volume query systems.
Inheritance: IQueryAccelerator
ファイルを表示 Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method 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

Method Description
DynamicHierarchyQueryAccelerator ( DynamicHierarchy hierarchy ) : System.Collections.Generic

Method Details

GetEntries() public method

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.
return void

GetEntries() public method

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.
return void

GetEntries() public method

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.
return void

RayCast() public method

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.
return bool

RayCast() public method

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.
return bool