C# Class BEPUphysics.BroadPhaseSystems.BroadPhase

Superclass of all broad phases. Broad phases collect overlapping broad phase entry pairs.
Inheritance: MultithreadedProcessingStage
Datei anzeigen Open project: Indiefreaks/igf

Public Methods

Method Description
Add ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entry ) : void

Adds an entry to the broad phase.

Remove ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entry ) : void

Removes an entry from the broad phase.

Protected Methods

Method Description
AddOverlap ( BroadPhaseOverlap overlap ) : void
BroadPhase ( ) : BEPUphysics.BroadPhaseEntries
BroadPhase ( IThreadManager threadManager ) : BEPUphysics.BroadPhaseEntries
GetCollisionRule ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryA, BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryB ) : CollisionRule
TryToAddOverlap ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryA, BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryB ) : void

Adds a broad phase overlap if the collision rules permit it.

Method Details

Add() public method

Adds an entry to the broad phase.
public Add ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entry ) : void
entry BEPUphysics.BroadPhaseSystems.BroadPhaseEntry Entry to add.
return void

AddOverlap() protected method

protected AddOverlap ( BroadPhaseOverlap overlap ) : void
overlap BroadPhaseOverlap
return void

BroadPhase() protected method

protected BroadPhase ( ) : BEPUphysics.BroadPhaseEntries
return BEPUphysics.BroadPhaseEntries

BroadPhase() protected method

protected BroadPhase ( IThreadManager threadManager ) : BEPUphysics.BroadPhaseEntries
threadManager IThreadManager
return BEPUphysics.BroadPhaseEntries

GetCollisionRule() protected method

protected GetCollisionRule ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryA, BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryB ) : CollisionRule
entryA BEPUphysics.BroadPhaseSystems.BroadPhaseEntry
entryB BEPUphysics.BroadPhaseSystems.BroadPhaseEntry
return CollisionRule

Remove() public method

Removes an entry from the broad phase.
public Remove ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entry ) : void
entry BEPUphysics.BroadPhaseSystems.BroadPhaseEntry Entry to remove.
return void

TryToAddOverlap() protected method

Adds a broad phase overlap if the collision rules permit it.
protected TryToAddOverlap ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryA, BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entryB ) : void
entryA BEPUphysics.BroadPhaseSystems.BroadPhaseEntry First entry of the overlap.
entryB BEPUphysics.BroadPhaseSystems.BroadPhaseEntry Second entry of the overlap.
return void