These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

Shape : PolygonDisk

This class is included as part of the file Shape.tz.
To use this class in a simulation, include the line "@use Shape."

Class description:

This class is used to create a polygon-disk. This is a shape which can be described as an extruded polygon.

Class methods:


init-with sides sideCount (int) height theHeight (float) radius theRadius = 1.0 (float)

Initializes the polygon-disk.

The distance from the center of the n-gon faces to the vertices is theRadius. sides has a maximum value of 99. Higher values will cause the shape not to be initialized.

The height, or depth of the extrusion, is theHeight.


Documentation created Sun Oct 7 19:13:03 2007