computeRhumbLineSubdivision
external fun computeRhumbLineSubdivision(ellipsoid: Ellipsoid, positions: ReadonlyArray<Cartesian3>, indices: ReadonlyArray<JsDouble>, texcoords: ReadonlyArray<Cartesian2>, granularity: Double? = definedExternally)(source)
Subdivides positions on rhumb lines and raises points to the surface of the ellipsoid.
Parameters
ellipsoid
The ellipsoid the polygon in on.
positions
An array of Cartesian3 positions of the polygon.
indices
An array of indices that determines the triangles in the polygon.
texcoords
An optional array of Cartesian2 texture coordinates of the polygon.
granularity
The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer. Default value - Math.RADIANS_PER_DEGREE