C# Class BEPUphysics.CollisionTests.CollisionAlgorithms.GeneralConvexPairTester

Tests convex shapes against other convex shapes for contact generation.
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Свойство Type Description
UseSimplexCaching bool

Protected Properties

Свойство Type Description
collidableA BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable
collidableB BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable

Méthodes publiques

Méthode Description
CleanUp ( ) : void

Cleans up the pair tester.

GenerateContactCandidate ( ContactData &contact ) : bool

Generates a contact between the objects, if possible.

Initialize ( Collidable shapeA, Collidable shapeB ) : void

Initializes the pair tester.

Private Methods

Méthode Description
DoDeepContact ( ContactData &contact ) : bool
DoShallowContact ( ContactData &contact ) : bool

Method Details

CleanUp() public méthode

Cleans up the pair tester.
public CleanUp ( ) : void
Résultat void

GenerateContactCandidate() public méthode

Generates a contact between the objects, if possible.
public GenerateContactCandidate ( ContactData &contact ) : bool
contact ContactData Contact created between the pair, if possible.
Résultat bool

Initialize() public méthode

Initializes the pair tester.
public Initialize ( Collidable shapeA, Collidable shapeB ) : void
shapeA BEPUphysics.BroadPhaseEntries.Collidable First shape in the pair.
shapeB BEPUphysics.BroadPhaseEntries.Collidable Second shape in the pair.
Résultat void

Property Details

UseSimplexCaching public_oe static_oe property

Whether or not to use simplex caching in general case convex-convex collisions. This will improve performance in simulations relying on the general case system, but may decrease quality of behavior for curved shapes.
public static bool UseSimplexCaching
Résultat bool

collidableA protected_oe property

protected ConvexCollidable,BEPUphysics.BroadPhaseEntries.MobileCollidables collidableA
Résultat BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable

collidableB protected_oe property

protected ConvexCollidable,BEPUphysics.BroadPhaseEntries.MobileCollidables collidableB
Résultat BEPUphysics.BroadPhaseEntries.MobileCollidables.ConvexCollidable