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 float
getBottom()
Get the bottom pixelPixel
getBottomRight()
Get the bottom right pixelfloat
getHeight()
Get the pixel heightfloat
getLeft()
Get the left pixelfloat
getMaxX()
Get the maximum x pixelfloat
getMaxY()
Get the maximum y pixelfloat
getMinX()
Get the minimum x pixelfloat
getMinY()
Get the minimum y pixelfloat
getRight()
Get the right pixelfloat
getTop()
Get the top pixelPixel
getTopLeft()
Get the top left pixelfloat
getWidth()
Get the pixel widthvoid
setBottomRight(Pixel bottomRight)
Set the bottom right pixelvoid
setTopLeft(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
-
-