cesium-spatial
    Preparing search index...
    • Inserts vertices along each edge so no segment exceeds maxEdgeMeters of surface distance.

      Large cells have edges long enough that a straight line between their corners visibly cuts through the globe. Cesium's geodesic polygons handle the fill, but outlines and any client-side geometry need the extra vertices.

      Parameters

      • ring: number[]
      • maxEdgeMeters: number
      • ellipsoid: Ellipsoid = Ellipsoid.WGS84

      Returns number[]