Class Region
java.lang.Object
com.ardor3d.extension.terrain.util.Region
Used to calculate clipmap block boundaries etc
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Region
public Region(int x, int y, int width, int height) -
Region
public Region(int level, int x, int y, int width, int height)
-
-
Method Details
-
getX
public int getX()- Returns:
- the x
-
getY
public int getY()- Returns:
- the y
-
setX
public void setX(int x) - Parameters:
x
- the x to set
-
setY
public void setY(int y) - Parameters:
y
- the y to set
-
setWidth
public void setWidth(int width) -
setHeight
public void setHeight(int height) -
getLeft
public int getLeft()- Returns:
- the left
-
getRight
public int getRight()- Returns:
- the right
-
getTop
public int getTop()- Returns:
- the top
-
getBottom
public int getBottom()- Returns:
- the bottom
-
getWidth
public int getWidth()- Returns:
- the width
-
getHeight
public int getHeight()- Returns:
- the height
-
intersects
-
intersection
-
getLevel
public int getLevel() -
hashCode
public int hashCode() -
equals
-
toString
-