Click or drag to resize
DigitalRuneCollisionDetectionGetContacts Method
Computes the contacts between two CollisionObjects.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public ContactSet GetContacts(
	CollisionObject objectA,
	CollisionObject objectB
)

Parameters

objectA
Type: DigitalRune.Geometry.CollisionsCollisionObject
The first collision object.
objectB
Type: DigitalRune.Geometry.CollisionsCollisionObject
The second collision object.

Return Value

Type: ContactSet
A ContactSet describing the contact information if objectA and objectB are intersecting; otherwise, if the objects are separated.
Exceptions
ExceptionCondition
ArgumentNullExceptionobjectA is .
ArgumentNullExceptionobjectB is .
See Also