See Javadoc
An infinite cylinder is defined as a set of points a constant distance from a line P + tD where t is a Real Number and D is unit length. A finite cylinder is a subset of the infinite cylinder where the length of t is less than a specified height. In jME Cylinder is always a finite cylinder.
Creation of a Cylinder requires supplying the height and the radius. Additionally, the number of divisions that make up the radial of the cylinder and that along its height are supplied. The higher number of divisions the more detailed the Cylinder. The Cylinder will always be oriented as “lying down” along the Z axis.
//Create a cylinder with 10 division for both the height axis //and the radial. The radius will be 5 making the cylinder a //total width of 10. The height is 20. Cylinder c = new Cylinder("Cylinder", 10, 10, 5, 20);