Returns the amount of time for this particle to collide with the specified
particle, assuming no interening collisions.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic double TimeToHit(
Particle that
)
Parameters
- that
- Type: Algs4NetParticle
the other particle
Return Value
Type:
Doublethe 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