C# Class BEPUphysics.CollisionTests.CollisionAlgorithms.TrianglePairTester

Persistent tester that compares triangles against convex objects.
Show file Open project: Indiefreaks/igf Class Usage Examples

Public Properties

Property Type Description
Updated bool

Public Methods

Method 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 method

Cleans up the pair tester.
public abstract CleanUp ( ) : void
return void

GenerateContactCandidate() public abstract method

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

GetRegion() public abstract method

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

Initialize() public abstract method

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

Property Details

Updated public property

Whether or not the pair tester was updated during the last attempt.
public bool Updated
return bool