| CollisionDetectionGetClosestPoints Method |
Namespace: DigitalRune.Geometry.CollisionsAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public ContactSet GetClosestPoints(
CollisionObject objectA,
CollisionObject objectB
)
Public Function GetClosestPoints (
objectA As CollisionObject,
objectB As CollisionObject
) As ContactSet
public:
ContactSet^ GetClosestPoints(
CollisionObject^ objectA,
CollisionObject^ objectB
)
member GetClosestPoints :
objectA : CollisionObject *
objectB : CollisionObject -> ContactSet
Parameters
- objectA
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The first collision object. - objectB
- Type: DigitalRune.Geometry.CollisionsCollisionObject
The second collision object.
Return Value
Type:
ContactSet
The
ContactSet with the closest-point information. The
ContactSet will have exactly 1
Contact (describing the
closest-point pair).
Exceptions Remarks See Also