org.xith3d.scenegraph.primitives
Class Cylinder

java.lang.Object
  extended by org.xith3d.scenegraph.SceneGraphObject
      extended by org.xith3d.scenegraph.Node
          extended by org.xith3d.scenegraph.Leaf
              extended by org.xith3d.scenegraph.Shape3D
                  extended by org.xith3d.scenegraph.primitives.Cylinder
All Implemented Interfaces:
org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.spatial.SpatialNode
Direct Known Subclasses:
Ring

public class Cylinder
extends Shape3D

An open cylinder pointing in the +/-y direction. Has unit height.


Field Summary
 
Fields inherited from class org.xith3d.scenegraph.Node
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, transformGroup, untransformedBounds
 
Fields inherited from class org.xith3d.scenegraph.SceneGraphObject
XITH3D_USERDATAKEY_OLDUSERDATA
 
Constructor Summary
Cylinder(float taper, boolean closed, int slices, Appearance app)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, boolean closed, int slices, org.openmali.vecmath2.Colorf color)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, boolean closed, int slices, java.lang.String texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, boolean closed, int slices, Texture texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, boolean closed, int slices, Appearance app)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, boolean closed, int slices, org.openmali.vecmath2.Colorf color)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, boolean closed, int slices, java.lang.String texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, boolean closed, int slices, Texture texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float radius, float height, float taper, boolean closed, int slices, Appearance app)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float radius, float height, float taper, boolean closed, int slices, org.openmali.vecmath2.Colorf color)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float radius, float height, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float height, float taper, boolean closed, int slices, java.lang.String texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float radius, float height, float taper, boolean closed, int slices, Texture texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float radius, float height, float taper, int slices, Appearance app)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float radius, float height, float taper, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float radius, float height, float taper, int slices, java.lang.String texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float radius, float height, float taper, int slices, Texture texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, int slices, Appearance app)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, int slices, org.openmali.vecmath2.Colorf color)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, int slices, java.lang.String texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float size, float taper, int slices, Texture texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, int slices, Appearance app)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, int slices, org.openmali.vecmath2.Colorf color)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, int slices, float radius, float height, org.openmali.vecmath2.Colorf color)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, int slices, java.lang.String texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
Cylinder(float taper, int slices, Texture texture)
          Generate a cylinder pointing in the +/-y direction with unit height.
 
Method Summary
static Geometry createGeometry(float radius, float height, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
           
static GeometryConstruct createGeometryConstructITA(float radius, float height, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
static GeometryConstruct createGeometryConstructITSA(float radius, float height, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
static GeometryConstruct createGeometryConstructTA(float radius, float height, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
static IndexedTriangleArray createGeometryITA(float radius, float height, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
static IndexedTriangleStripArray createGeometryITSA(float radius, float height, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
static TriangleArray createGeometryTA(float radius, float height, float taper, boolean closed, int slices, int features, boolean colorAlpha, int texCoordsSize)
          Generate a cylinder pointing in the +/-y direction with unit height.
static GeometryType getGeometryConstructionTypeHint()
           
static void setGeometryConstructionTypeHint(GeometryType hint)
          Sets the hint for this ShapeType's Geometry to be constructed of a certain type.
 
Methods inherited from class org.xith3d.scenegraph.Shape3D
absorbDetails, copy, freeOpenGLResources, getAppearance, getAppearance, getCustomComparable, getGeometry, isBumpMappingEnabled, isShadowReceiver, isVisible, newAppearance, newInstance, setAppearance, setBounds, setBumpMappingEnabled, setBumpMappingEnabled, setCustomComparable, setGeometry, setIsShadowReceiver, setModListener, setVisible, sharedCopy, sharedCopy, traverse, updateBounds, updateBoundsCheap, updateWorldTransform, verifyAppChange
 
Methods inherited from class org.xith3d.scenegraph.Leaf
dump, getPickHost, setPickHost
 
Methods inherited from class org.xith3d.scenegraph.Node
cloneNode, detach, duplicateNode, freeOpenGLResources, getBounds, getBoundsAutoCompute, getBoundsType, getBoundsTypeHint, getDefaultPickable, getIndentString, getInheritedNodeAttributes, getModListener, getOrderedChild, getOrderedState, getParent, getRoot, getShadowAttachment, getShowBounds, getTransformGroup, getTreeCell, getWorldBounds, getWorldTransform, getWorldTransform, isBillboard, isIgnoreBounds, isOccluder, isPickable, isRenderable, isUpdatableNode, mergeInheritedClipper, mergeInheritedNodes, mergeInheritedScissorRect, popGlobalIgnoreBounds, printBounds, pushGlobalIgnoreBounds, setBoundsAutoCompute, setBoundsDirty, setBoundsDirtyUpward, setBoundsTypeHint, setDefaultPickable, setGlobalIgnoreBounds, setIgnoreBounds, setIsOccluder, setOrderedChild, setParent, setPickable, setPickableRecursive, setPickableRecursive, setRenderable, setShadowAttachment, setShowBounds, setTransformGroup, setTreeCell, traverse, unmergeInheritedFog, unmergeInheritedLight, unmergeInheritedNodes, updateOrderedChild, updateTransformGroup
 
Methods inherited from class org.xith3d.scenegraph.SceneGraphObject
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Cylinder

public Cylinder(float taper,
                boolean closed,
                int slices,
                int features,
                boolean colorAlpha,
                int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit radius and height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -

Cylinder

public Cylinder(float taper,
                int slices,
                int features,
                boolean colorAlpha,
                int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit radius and height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -

Cylinder

public Cylinder(float size,
                float taper,
                boolean closed,
                int slices,
                int features,
                boolean colorAlpha,
                int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float size,
                float taper,
                int slices,
                int features,
                boolean colorAlpha,
                int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float radius,
                float height,
                float taper,
                boolean closed,
                int slices,
                int features,
                boolean colorAlpha,
                int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float radius,
                float height,
                float taper,
                int slices,
                int features,
                boolean colorAlpha,
                int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float taper,
                boolean closed,
                int slices,
                Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance

Cylinder

public Cylinder(float taper,
                int slices,
                Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance

Cylinder

public Cylinder(float size,
                float taper,
                boolean closed,
                int slices,
                Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float size,
                float taper,
                int slices,
                Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float radius,
                float height,
                float taper,
                boolean closed,
                int slices,
                Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float radius,
                float height,
                float taper,
                int slices,
                Texture texture)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float taper,
                boolean closed,
                int slices,
                java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance

Cylinder

public Cylinder(float taper,
                int slices,
                java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance

Cylinder

public Cylinder(float size,
                float taper,
                boolean closed,
                int slices,
                java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float size,
                float taper,
                int slices,
                java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float size,
                float height,
                float taper,
                boolean closed,
                int slices,
                java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
size - amount to enlarge the cylinder by
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float radius,
                float height,
                float taper,
                int slices,
                java.lang.String texture)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
texture - the Texture to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float taper,
                boolean closed,
                int slices,
                org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
color - the color to be applied to the Shape's Appearance

Cylinder

public Cylinder(float taper,
                int slices,
                org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
color - the color to be applied to the Shape's Appearance

Cylinder

public Cylinder(float size,
                float taper,
                boolean closed,
                int slices,
                org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
color - the color to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float size,
                float taper,
                int slices,
                org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
color - the color to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float radius,
                float height,
                float taper,
                boolean closed,
                int slices,
                org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
color - the color to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float taper,
                int slices,
                float radius,
                float height,
                org.openmali.vecmath2.Colorf color)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
color - the color to be applied to the Shape's Appearance
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float taper,
                boolean closed,
                int slices,
                Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
app - the Appearance to be applied to this Shape

Cylinder

public Cylinder(float taper,
                int slices,
                Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
app - the Appearance to be applied to this Shape

Cylinder

public Cylinder(float size,
                float taper,
                boolean closed,
                int slices,
                Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
app - the Appearance to be applied to this Shape
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float size,
                float taper,
                int slices,
                Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. Has unit height.

Parameters:
size - amount to enlarge the cylinder by
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
app - the Appearance to be applied to this Shape
See Also:
StaticTransform.scale(Shape3D, float)

Cylinder

public Cylinder(float radius,
                float height,
                float taper,
                boolean closed,
                int slices,
                Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
app - the Appearance to be applied to this Shape
See Also:
StaticTransform.scale(Shape3D, Tuple3f)

Cylinder

public Cylinder(float radius,
                float height,
                float taper,
                int slices,
                Appearance app)
Generate a cylinder pointing in the +/-y direction with unit height. With specified height and radius

Parameters:
radius - Cylinder radius
height - Cylinder height
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
slices - Number of vertical stripes down the cone
app - the Appearance to be applied to this Shape
See Also:
StaticTransform.scale(Shape3D, Tuple3f)
Method Detail

setGeometryConstructionTypeHint

public static void setGeometryConstructionTypeHint(GeometryType hint)
Sets the hint for this ShapeType's Geometry to be constructed of a certain type.

Parameters:
hint -

getGeometryConstructionTypeHint

public static GeometryType getGeometryConstructionTypeHint()
Returns:
the hint for this ShapeType's Geometry to be constructed of a certain type.

createGeometryConstructITSA

public static GeometryConstruct createGeometryConstructITSA(float radius,
                                                            float height,
                                                            float taper,
                                                            boolean closed,
                                                            int slices,
                                                            int features,
                                                            boolean colorAlpha,
                                                            int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height.

Parameters:
radius -
height -
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -

createGeometryITSA

public static IndexedTriangleStripArray createGeometryITSA(float radius,
                                                           float height,
                                                           float taper,
                                                           boolean closed,
                                                           int slices,
                                                           int features,
                                                           boolean colorAlpha,
                                                           int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height.

Parameters:
radius -
height -
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -

createGeometryConstructITA

public static GeometryConstruct createGeometryConstructITA(float radius,
                                                           float height,
                                                           float taper,
                                                           boolean closed,
                                                           int slices,
                                                           int features,
                                                           boolean colorAlpha,
                                                           int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height.

Parameters:
radius -
height -
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -

createGeometryITA

public static IndexedTriangleArray createGeometryITA(float radius,
                                                     float height,
                                                     float taper,
                                                     boolean closed,
                                                     int slices,
                                                     int features,
                                                     boolean colorAlpha,
                                                     int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height.

Parameters:
radius -
height -
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -

createGeometryConstructTA

public static GeometryConstruct createGeometryConstructTA(float radius,
                                                          float height,
                                                          float taper,
                                                          boolean closed,
                                                          int slices,
                                                          int features,
                                                          boolean colorAlpha,
                                                          int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height.

Parameters:
radius -
height -
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -

createGeometryTA

public static TriangleArray createGeometryTA(float radius,
                                             float height,
                                             float taper,
                                             boolean closed,
                                             int slices,
                                             int features,
                                             boolean colorAlpha,
                                             int texCoordsSize)
Generate a cylinder pointing in the +/-y direction with unit height.

Parameters:
radius -
height -
taper - ratio of upper to lower radii (alpha=1 gives parallel walls)
closed - shall the cylinder have caps?
slices - Number of vertical stripes down the cone
features - Generate the data for GeometryArray.COLOR_3 | GeometryArray.NORMALS | ...
colorAlpha -
texCoordsSize -

createGeometry

public static Geometry createGeometry(float radius,
                                      float height,
                                      float taper,
                                      boolean closed,
                                      int slices,
                                      int features,
                                      boolean colorAlpha,
                                      int texCoordsSize)