Package gov.nasa.worldwind.geom
Class TileMatrixSet
- java.lang.Object
-
- gov.nasa.worldwind.geom.TileMatrixSet
-
public class TileMatrixSet extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TileMatrixSet()
TileMatrixSet(Sector sector, java.util.List<TileMatrix> tileMatrixList)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
Returns the number of matrices in this tile matrix set.static TileMatrixSet
fromTilePyramid(Sector sector, int matrixWidth, int matrixHeight, int tileWidth, int tileHeight, int numLevels)
int
indexOfMatrixNearest(double degreesPerPixel)
TileMatrix
matrix(int index)
Returns the matrix for a specified ordinal.
-
-
-
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)
-
-