Click or drag to resize
DigitalRuneCollisionAlgorithmUpdateClosestPoints Method
Performs a collision query to update the closest-point information in the contact set.

Namespace: DigitalRune.Geometry.Collisions.Algorithms
Assembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax
public void UpdateClosestPoints(
	ContactSet contactSet,
	float deltaTime
)

Parameters

contactSet
Type: DigitalRune.Geometry.CollisionsContactSet
The contact set.
deltaTime
Type: SystemSingle
The time step size in seconds. (The elapsed simulation time since the contact set was updated the last time.)
Exceptions
ExceptionCondition
ArgumentNullExceptioncontactSet is .
Remarks
This method updates closest-point information stored in the given contact set. This method is usually faster than GetClosestPoints(CollisionObject, CollisionObject) because the information in contactSet is reused and updated.
See Also