Updates the velocities of this particle and the specified particle according
to the laws of elastic collision. Assumes that the particles are colliding
at this instant.
Namespace: Algs4NetAssembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void BounceOff(
Particle that
)
Parameters
- that
- Type: Algs4NetParticle
the other particle
See Also