| Modifier and Type | Field and Description |
|---|---|
| private int | hash
Cache the hash code to make computing hashes faster. |
| Access | Constructor and Description |
|---|---|
| public | BoundingBox(double
the X coordinate of the upper-left corner minX, double the Y coordinate of the upper-left corner minY, double the minimum z coordinate of the minZ, double BoundingBoxthe width of the width, double BoundingBoxthe height of the height, double BoundingBoxthe depth of the depth)BoundingBoxCreates a new instance of 3D |
| public | BoundingBox(double
the X coordinate of the upper-left corner minX, double the Y coordinate of the upper-left corner minY, double the width of the width, double BoundingBoxthe height of the height)BoundingBoxCreates a new instance of 2D |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(Point2D p)
Implements abstract javafx. Tests if the specified point is inside the boundary of |
| public boolean | contains(Point3D p)
Implements abstract javafx. Tests if the specified point is inside the boundary of |
| public boolean | contains(double x, double y)
Implements abstract javafx. Tests if the specified |
| public boolean | contains(double x, double y, double z)
Implements abstract javafx. Tests if the specified |
| public boolean | contains(Bounds b)
Implements abstract javafx. Tests if the interior of this |
| public boolean | contains(double x, double y, double w, double h)
Implements abstract javafx. Tests if the interior of this |
| public boolean | contains(double x, double y, double z, double w, double h, double d)
Implements abstract javafx. Tests if the interior of this |
| public boolean | Returns: true if this object is the same as the obj argument; false otherwisethe reference object with which to compare obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | Returns: a hash code value for the object.Overrides java. Returns a hash code value for the object. |
| public boolean | intersects(Bounds b)
Implements abstract javafx. Tests if the interior of this |
| public boolean | intersects(double x, double y, double w, double h)
Implements abstract javafx. Tests if the interior of this |
| public boolean | intersects(double x, double y, double z, double w, double h, double d)
Implements abstract javafx. Tests if the interior of this |
| public boolean | isEmpty()
Implements abstract javafx. Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero. |
| public String |
| hash | back to summary |
|---|---|
| private int hash Cache the hash code to make computing hashes faster. | |
| BoundingBox | back to summary |
|---|---|
| public BoundingBox(double minX, double minY, double minZ, double width, double height, double depth) Creates a new instance of 3D
| |
| BoundingBox | back to summary |
|---|---|
| public BoundingBox(double minX, double minY, double width, double height) Creates a new instance of 2D
| |
| contains | back to summary |
|---|---|
| public boolean contains(Point2D p) Implements abstract javafx. Doc from javafx. Tests if the specified point is inside the boundary of
| |
| contains | back to summary |
|---|---|
| public boolean contains(Point3D p) Implements abstract javafx. Doc from javafx. Tests if the specified point is inside the boundary of
| |
| contains | back to summary |
|---|---|
| public boolean contains(double x, double y) Implements abstract javafx. Doc from javafx. Tests if the specified
| |
| contains | back to summary |
|---|---|
| public boolean contains(double x, double y, double z) Implements abstract javafx. Doc from javafx. Tests if the specified
| |
| contains | back to summary |
|---|---|
| public boolean contains(Bounds b) Implements abstract javafx. Doc from javafx. Tests if the interior of this
| |
| contains | back to summary |
|---|---|
| public boolean contains(double x, double y, double w, double h) Implements abstract javafx. Doc from javafx. Tests if the interior of this
| |
| contains | back to summary |
|---|---|
| public boolean contains(double x, double y, double z, double w, double h, double d) Implements abstract javafx. Doc from javafx. Tests if the interior of this
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Indicates whether some other object is "equal to" this one. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code value for the object.
| |
| intersects | back to summary |
|---|---|
| public boolean intersects(Bounds b) Implements abstract javafx. Doc from javafx. Tests if the interior of this
| |
| intersects | back to summary |
|---|---|
| public boolean intersects(double x, double y, double w, double h) Implements abstract javafx. Doc from javafx. Tests if the interior of this
| |
| intersects | back to summary |
|---|---|
| public boolean intersects(double x, double y, double z, double w, double h, double d) Implements abstract javafx. Doc from javafx. Tests if the interior of this
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements abstract javafx. Doc from javafx. Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this
| |