FanGeometry

new Cesium.FanGeometry()

Describes a triangle fan around the origin.
Name Type Default Description
options.directions Array.<Spherical> The directions, pointing outward from the origin, that defined the fan.
options.radius Number The radius at which to draw the fan.
options.perDirectionRadius Boolean false optional When set to true, the magnitude of each direction is used in place of a constant radius.
options.vertexFormat VertexFormat VertexFormat.DEFAULT optional The vertex attributes to be computed.
See:
  • FanGeometry#createGeometry

Methods

staticCesium.FanGeometry.createGeometry(fanGeometry)Geometry

Computes the geometric representation of a fan, including its vertices, indices, and a bounding sphere.
Name Type Description
fanGeometry FanGeometry A description of the fan.
Returns:
The computed vertices and indices.