Class TileMatrixSet


  • public class TileMatrixSet
    extends java.lang.Object
    • Field Detail

      • sector

        public final Sector sector
    • Constructor Detail

      • TileMatrixSet

        public TileMatrixSet()
      • TileMatrixSet

        public TileMatrixSet​(Sector sector,
                             java.util.List<TileMatrix> tileMatrixList)
    • Method Detail

      • fromTilePyramid

        public static TileMatrixSet fromTilePyramid​(Sector sector,
                                                    int matrixWidth,
                                                    int matrixHeight,
                                                    int tileWidth,
                                                    int tileHeight,
                                                    int numLevels)
      • count

        public int count()
        Returns the number of matrices in this tile matrix set.
        Returns:
        the number of matrices
      • matrix

        public TileMatrix matrix​(int index)
        Returns the matrix for a specified ordinal.
        Parameters:
        index - the ordinal of the desired matrix
        Returns:
        the requested matrix, or null if the matrix does not exist
      • indexOfMatrixNearest

        public int indexOfMatrixNearest​(double degreesPerPixel)