FanGeometry

new IonSdkGeometry.FanGeometry(options)

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

Methods

static IonSdkGeometry.FanGeometry.createGeometry(fanGeometry)Geometry|undefined

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.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.