ParticleTimeToHitHorizontalWall Method |
Returns the amount of time for this particle to collide with a horizontal
wall, assuming no interening collisions.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic double TimeToHitHorizontalWall()
Return Value
Type:
Doublethe amount of time for this particle to collide with a
horizontal wall, assuming no interening collisions;
Double.PositiveInfinity
if the particle will not collide with a horizontal wall
See Also