Click or drag to resize
ParticleCollisionCount Property
Returns the number of collisions involving this particle with vertical walls, horizontal walls, or other particles. This is equal to the number of calls to BounceOff(Particle), BounceOffVerticalWall, and BounceOffHorizontalWall

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int CollisionCount { get; }

Return Value

Type: Int32
the number of collisions involving this particle with vertical walls, horizontal walls, or other particles
See Also