Package mil.nga.grid.tile
Class PixelRange
- java.lang.Object
-
- mil.nga.grid.tile.PixelRange
-
public class PixelRange extends Object
Pixel Range- Author:
- osbornb
-
-
Constructor Summary
Constructors Constructor Description PixelRange(Pixel topLeft, Pixel bottomRight)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetBottom()Get the bottom pixelPixelgetBottomRight()Get the bottom right pixelfloatgetHeight()Get the pixel heightfloatgetLeft()Get the left pixelfloatgetMaxX()Get the maximum x pixelfloatgetMaxY()Get the maximum y pixelfloatgetMinX()Get the minimum x pixelfloatgetMinY()Get the minimum y pixelfloatgetRight()Get the right pixelfloatgetTop()Get the top pixelPixelgetTopLeft()Get the top left pixelfloatgetWidth()Get the pixel widthvoidsetBottomRight(Pixel bottomRight)Set the bottom right pixelvoidsetTopLeft(Pixel topLeft)Set the top left pixel
-
-
-
Method Detail
-
getTopLeft
public Pixel getTopLeft()
Get the top left pixel- Returns:
- top left pixel
-
setTopLeft
public void setTopLeft(Pixel topLeft)
Set the top left pixel- Parameters:
topLeft- top left pixel
-
getBottomRight
public Pixel getBottomRight()
Get the bottom right pixel- Returns:
- bottom right pixel
-
setBottomRight
public void setBottomRight(Pixel bottomRight)
Set the bottom right pixel- Parameters:
bottomRight- bottom right pixel
-
getMinX
public float getMinX()
Get the minimum x pixel- Returns:
- minimum x pixel
-
getMinY
public float getMinY()
Get the minimum y pixel- Returns:
- minimum y pixel
-
getMaxX
public float getMaxX()
Get the maximum x pixel- Returns:
- maximum x pixel
-
getMaxY
public float getMaxY()
Get the maximum y pixel- Returns:
- maximum y pixel
-
getLeft
public float getLeft()
Get the left pixel- Returns:
- left pixel
-
getTop
public float getTop()
Get the top pixel- Returns:
- top pixel
-
getRight
public float getRight()
Get the right pixel- Returns:
- right pixel
-
getBottom
public float getBottom()
Get the bottom pixel- Returns:
- bottom pixel
-
getWidth
public float getWidth()
Get the pixel width- Returns:
- pixel width
-
getHeight
public float getHeight()
Get the pixel height- Returns:
- pixel height
-
-