Click or drag to resize
DigitalRuneCollisionDetectionHaveContact Method
Returns if two CollisionObjects are in contact.

Namespace: DigitalRune.Geometry.Collisions
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public bool HaveContact(
	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: Boolean
if the object are touching or intersecting; otherwise .
Exceptions
ExceptionCondition
ArgumentNullExceptionobjectA is .
ArgumentNullExceptionobjectB is .
See Also