CylinderOutlineGeometry

new CylinderOutlineGeometry()

A description of the outline of a cylinder.
Name Type 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 128 optional The number of edges around perimeter of the cylinder.
options.numberOfVerticalLines Number 16 optional Number of lines to draw between the top and bottom surfaces of the cylinder.
Throws:
Example:
// create cylinder geometry
var cylinder = new Cesium.CylinderOutlineGeometry({
    length: 200000,
    topRadius: 80000,
    bottomRadius: 200000,
});
var geometry = Cesium.CylinderOutlineGeometry.createGeometry(cylinder);
See:

Methods

staticCylinderOutlineGeometry.createGeometry(cylinderGeometry)Geometry

Computes the geometric representation of an outline of a cylinder, including its vertices, indices, and a bounding sphere.
Name Type Description
cylinderGeometry CylinderOutlineGeometry A description of the cylinder outline.
Returns:
The computed vertices and indices.