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 : PolygonCone

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-cone shape. This is a shape with a polygon base which tapers off to a point. A pyramid is an example of a polygon-cone with 4 sides. As the number of sides increases, the base becomes more circular and the resulting shape will more closely resemble a true cone.

### Class methods:

> - init-with

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

> Initializes the polygon-cone.

> 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 polygon-cone not to be initialized.

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

Documentation created Thu Jul 3 18:18:12 2008