Click or drag to resize
DigitalRuneTriangleTriangleAlgorithm Class
Computes contact or closest-point information for TriangleShape vs. TriangleShape.
Inheritance Hierarchy
SystemObject
  DigitalRune.Geometry.Collisions.AlgorithmsCollisionAlgorithm
    DigitalRune.Geometry.Collisions.AlgorithmsTriangleTriangleAlgorithm

Namespace: DigitalRune.Geometry.Collisions.Algorithms
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public class TriangleTriangleAlgorithm : CollisionAlgorithm

The TriangleTriangleAlgorithm type exposes the following members.

Constructors
  NameDescription
Public methodTriangleTriangleAlgorithm
Initializes a new instance of the TriangleTriangleAlgorithm class.
Top
Methods
  NameDescription
Public methodComputeCollision
Computes the collision. - This method should only be used by CollisionAlgorithm instances!
(Overrides CollisionAlgorithmComputeCollision(ContactSet, CollisionQueryType).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetClosestPoints
Gets the closest points of two collision objects.
(Inherited from CollisionAlgorithm.)
Public methodGetContacts
Gets the contact information of two possibly touching collision objects.
(Inherited from CollisionAlgorithm.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetTimeOfImpact
Gets the time of impact between two moving objects.
(Inherited from CollisionAlgorithm.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHaveContact
Determines whether two collision objects are in contact.
(Inherited from CollisionAlgorithm.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdateClosestPoints
Performs a collision query to update the closest-point information in the contact set.
(Inherited from CollisionAlgorithm.)
Public methodUpdateContacts
Performs a collision query to update the contact information in the contact set.
(Inherited from CollisionAlgorithm.)
Top
Properties
  NameDescription
Public propertyCollisionDetection
Gets the collision detection service.
(Inherited from CollisionAlgorithm.)
Top
Remarks
This algorithm will fail if it is called for collision objects with other shapes.
See Also