This class models the floor in Bertrand's experiment. The class has methods for getting and setting the colors, the distance, the angle, and the x-coordinate of the free endpoint. The class also has methods for setting these parameters randomly, according to the standard models in Bertrand's experiment, for computing the y-coordinate of the free endpoint, and for computing the value of the chord event.
The text area below gives the code for this object, so that you can browse the constructors, methods, and properties of the object. Of course, this source file is part of devices.zip, which contains all source and resource files for the objects in the devices package.