CylinderGeometryOutline

CylinderGeometryOutline

new

A description of the outline of a cylinder.

Parameters:
Name Type Argument Default Description
options.length Number The length of the cylinder.
options.topRadius Number The radius of the top of the cylinder.
options.bottomRadius Number The radius of the bottom of the cylinder.
options.slices Number <optional>
128 The number of edges around perimeter of the cylinder.
options.numberOfVerticalLines Number <optional>
16 Number of lines to draw between the top and bottom surfaces of the cylinder.
Throws:
Example
// create cylinder geometry
var cylinder = new CylinderOutlineGeometry({
    length: 200000,
    topRadius: 80000,
    bottomRadius: 200000,
});
var geometry = CylinderOutlineGeometry.createGeometry(cylinder);
See:
  • CylinderOutlineGeometry#createGeometry
Source: