public class BoxBounds
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
BoxBounds(float xLower,
float yLower,
float zLower,
float xUpper,
float yUpper,
float zUpper)
Creates the bounds of a box from the coordinates of its lower and upper corners.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Returns
true if these bounds are equal to object . |
float |
getXLower()
Returns the abscissa of the lower corner of these bounds.
|
float |
getXUpper()
Returns the abscissa of the upper corner of these bounds.
|
float |
getYLower()
Returns the ordinate of the lower corner of these bounds.
|
float |
getYUpper()
Returns the ordinate of the upper corner of these bounds.
|
float |
getZLower()
Returns the elevation of the lower corner of these bounds.
|
float |
getZUpper()
Returns the elevation of the upper corner of these bounds.
|
int |
hashCode()
Returns a hash code for these bounds.
|
public BoxBounds(float xLower, float yLower, float zLower, float xUpper, float yUpper, float zUpper)
public float getXLower()
public float getYLower()
public float getZLower()
public float getXUpper()
public float getYUpper()
public float getZUpper()
public boolean equals(java.lang.Object object)
true
if these bounds are equal to object
.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License