This class models a stick of unit length that can be broken in two pieces. The variable of interest in the triangle experiment is whether the pieces form no triangle, an acute triangle, or an obtuse triangle. The class has methods for getting and setting the cutpoints and the color, and for getting the length of the pieces and the type of triangle that can be formed.
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.