Class BoxBounds
Defined in: SweetHome3D.js.
Constructor Attributes | Constructor Name and Description |
---|---|
BoxBounds(xLower, yLower, zLower, xUpper, yUpper, zUpper)
Creates the bounds of a box from the coordinates of its lower and upper corners.
|
Method Attributes | Method Name and Description |
---|---|
equals(object)
Returns
true if these bounds are equal to object . |
|
Returns the abscissa of the lower corner of these bounds.
|
|
Returns the abscissa of the upper corner of these bounds.
|
|
Returns the ordinate of the lower corner of these bounds.
|
|
Returns the ordinate of the upper corner of these bounds.
|
|
Returns the elevation of the lower corner of these bounds.
|
|
Returns the elevation of the upper corner of these bounds.
|
|
hashCode()
Returns a hash code for these bounds.
|
Class Detail
BoxBounds(xLower, yLower, zLower, xUpper, yUpper, zUpper)
Creates the bounds of a box from the coordinates of its lower and upper corners.
Author: Emmanuel Puybaret.
Author: Emmanuel Puybaret.
- Parameters:
- {number} xLower
- {number} yLower
- {number} zLower
- {number} xUpper
- {number} yUpper
- {number} zUpper
Method Detail
{boolean}
equals(object)
Returns
true
if these bounds are equal to object
.
- Parameters:
- {Object} object
- Returns:
- {boolean}
{number}
getXLower()
Returns the abscissa of the lower corner of these bounds.
- Returns:
- {number}
{number}
getXUpper()
Returns the abscissa of the upper corner of these bounds.
- Returns:
- {number}
{number}
getYLower()
Returns the ordinate of the lower corner of these bounds.
- Returns:
- {number}
{number}
getYUpper()
Returns the ordinate of the upper corner of these bounds.
- Returns:
- {number}
{number}
getZLower()
Returns the elevation of the lower corner of these bounds.
- Returns:
- {number}
{number}
getZUpper()
Returns the elevation of the upper corner of these bounds.
- Returns:
- {number}
{number}
hashCode()
Returns a hash code for these bounds.
- Returns:
- {number}