| CollisionAlgorithmHaveContact Method |
Determines whether two collision objects are in contact.
Namespace: DigitalRune.Geometry.Collisions.AlgorithmsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public bool HaveContact(
CollisionObject objectA,
CollisionObject objectB
)
Public Function HaveContact (
objectA As CollisionObject,
objectB As CollisionObject
) As Boolean
public:
bool HaveContact(
CollisionObject^ objectA,
CollisionObject^ objectB
)
member HaveContact :
objectA : CollisionObject *
objectB : CollisionObject -> bool
Parameters
- objectA
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The collision object A. - objectB
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The collision object B.
Return Value
Type:
Boolean if the objects are touching (or penetrating); otherwise
.
Exceptions See Also