Class TileDistanceSort

java.lang.Object
org.oscim.utils.TimSort<MapTile>
org.oscim.layers.tile.TileDistanceSort

public class TileDistanceSort extends TimSort<MapTile>
  • Method Details

    • sort

      public static void sort(MapTile[] a, int lo, int hi)
      Sort tiles by current MapTile.distance from map center.
      Parameters:
      a - the tiles to be sorted.
      lo - the start index.
      hi - the end index (excluded).