Click or drag to resize
ParticleTimeToHit Method
Returns the amount of time for this particle to collide with the specified particle, assuming no interening collisions.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public double TimeToHit(
	Particle that
)

Parameters

that
Type: Algs4NetParticle
the other particle

Return Value

Type: Double
the amount of time for this particle to collide with the specified particle, assuming no interening collisions; double.PositiveInfinity if the particles will not collide
See Also