Cone

Definition :
Cone { 
   bottomRadius   1
   height         2
   side           TRUE
   bottom         FALSE
}
Explanation :

The Cone node specifies a cone which is centered in the local coordinate system and whose central axis is aligned with the local Y-axis. The bottonRadius field specifies the radius of the cone's base, and the height field specifies the height of the cone from the center of the base to the apex. By default, the cone has a radius of 1.0 at the bottom and a height of 2.0, with its apex at y=1 and its bottom at y=-1. Both bottomRadius and height must be greater than 0.0.

When a texture is applied to the sides of the cone, the texture wraps counterclockwise (from above) starting at the back of the cone. The texture has a vertical seam at the back in the YZ plane, from the apex (0, height/2, 0) to the point (0, 0, -r). For the bottom cap, a circle is cut out of the unit texture square centered at (0, -height/2, 0) with dimensions (2 * bottomRadius) by (2 * bottomRadius). The bottom cap texture appears right side up when the top of the cone is rotated towards the -Z axis.

The Cone geometry is considered to be solid and thus requires outside faces only. When viewed from the inside the results are undefined.

bottomRadius : defines the radius of the cone's base.
height : defines the distance from center of the cone's base to apex.
side : TRUE means that sides of the cone is going to be created
FALSE means that sides of the cone is NOT going to be created.
bottom : TRUE means that bottom cap of the code is going to be created.
FALSE means that bottom cap of the code is NOT going to be created.