Click or drag to resize
Particle Constructor (DrawingWindow)
Initializes a particle with a random position and velocity. The position is uniform in the unit box; the velocity in either direciton is chosen uniformly at random. Member initializers will replace these random values.

Namespace: Algs4Net
Assembly: Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Particle(
	DrawingWindow target
)

Parameters

target
Type: Algs4NetDrawingWindow
the drawing target
See Also