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

    Function K_MIN_EDGE

    • The minimum edge length of any cell at level k is at least kMinEdge.getValue(k), and the maximum is at most kMaxEdge.getValue(k). The average edge length is approximately kAvgEdge.getValue(k).

      The edge length metrics can also be used to bound the minimum, maximum, or average distance from the center of one cell to the center of one of its edge neighbors. In particular, it can be used to bound the distance between adjacent cell centers along the space-filling Hilbert curve for cells at any given level.

      linear -> 2.0 * sqrt(2.0) / 3.0 (0.943) tan -> pi / (2.0 * sqrt(2.0)) (1.111) quadratic -> 2.0 * sqrt(2.0) / 3.0 (0.943) [Default]

      Returns LengthMetric

      • new LengthMetric((2 * Math.sqrt(2)) / 3)