C# Class BEPUphysics.CollisionTests.CollisionAlgorithms.TrianglePairTester

Persistent tester that compares triangles against convex objects.
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode Description
CleanUp ( ) : void

Cleans up the pair tester.

GenerateContactCandidate ( TinyStructList &contactList ) : bool

Generates a contact between the triangle and convex.

GetRegion ( ContactData &contact ) : VoronoiRegion

Gets the triangle region in which the contact resides.

Initialize ( ConvexShape convex, TriangleShape triangle ) : void

Initializes the pair tester.

Method Details

CleanUp() public abstract méthode

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

GenerateContactCandidate() public abstract méthode

Generates a contact between the triangle and convex.
public abstract GenerateContactCandidate ( TinyStructList &contactList ) : bool
contactList TinyStructList Contact between the shapes, if any.
Résultat bool

GetRegion() public abstract méthode

Gets the triangle region in which the contact resides.
public abstract GetRegion ( ContactData &contact ) : VoronoiRegion
contact ContactData Contact to check.
Résultat VoronoiRegion

Initialize() public abstract méthode

Initializes the pair tester.
public abstract Initialize ( ConvexShape convex, TriangleShape triangle ) : void
convex BEPUphysics.CollisionShapes.ConvexShapes.ConvexShape Convex shape to use.
triangle BEPUphysics.CollisionShapes.ConvexShapes.TriangleShape Triangle shape to use.
Résultat void

Property Details

Updated public_oe property

Whether or not the pair tester was updated during the last attempt.
public bool Updated
Résultat bool