C# Класс BEPUphysics.BroadPhaseSystems.Hierarchies.DynamicHierarchyQueryAccelerator

Interface to the DynamicHierarchy's volume query systems.
Наследование: IQueryAccelerator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
DynamicHierarchyQueryAccelerator ( DynamicHierarchy hierarchy ) : System.Collections.Generic

Описание методов

GetEntries() публичный Метод

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.
Результат void

GetEntries() публичный Метод

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.
Результат void

GetEntries() публичный Метод

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.
Результат void

RayCast() публичный Метод

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.
Результат bool

RayCast() публичный Метод

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.
Результат bool