gis-tools-ts - v0.6.0
    Preparing search index...

    Function K_MIN_DIAG

    • The minimum diagonal length of any cell at level k is at least kMinDiag.getValue(k), and the maximum is at most kMaxDiag.getValue(k). The average diagonal length is approximately kAvgDiag.getValue(k).

      The maximum diagonal also happens to be the maximum diameter of any cell, and also the maximum geometric width (see the discussion above). So for example, the distance from an arbitrary point to the closest cell center at a given level is at most half the maximum diagonal length.

      Linear -> 2.0 * @sqrt(2.0) / 3.0 (0.943) Tan -> pi * @sqrt(2.0) / 3.0 (1.481) Quadratic -> 8.0 * @sqrt(2.0) / 9.0 (1.257) [Default]

      Returns LengthMetric

      • new LengthMetric((8 * Math.sqrt(2)) / 9)