Click or drag to resize
DigitalRunePlaneConvexAlgorithm Class
Computes contact or closest-point information for PlaneShape vs. ConvexShapes.
Inheritance Hierarchy
SystemObject
  DigitalRune.Geometry.Collisions.AlgorithmsCollisionAlgorithm
    DigitalRune.Geometry.Collisions.AlgorithmsPlaneConvexAlgorithm

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

The PlaneConvexAlgorithm type exposes the following members.

Constructors
  NameDescription
Public methodPlaneConvexAlgorithm
Initializes a new instance of the PlaneConvexAlgorithm 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.
(Overrides CollisionAlgorithmGetTimeOfImpact(CollisionObject, Pose, CollisionObject, Pose, Single).)
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

On of the shapes must be a PlaneShape, the other shape must be a convex that provides support mappings. For example, plane vs. plane, or plane vs. line will not work.

See Also