| 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
the specified point to be tested p)Implements abstract javafx. Tests if the specified point is inside the boundary of |
| public boolean | contains(Point3D
the specified 3D point to be tested p)Implements abstract javafx. Tests if the specified point is inside the boundary of |
| public boolean | contains(double
the specified x coordinate to be tested x, double the specified y coordinate to be tested y)Implements abstract javafx. Tests if the specified |
| public boolean | contains(double
the specified x coordinate to be tested x, double the specified y coordinate to be tested y, double the specified z coordinate to be tested z)Implements abstract javafx. Tests if the specified |
| public boolean | contains(Bounds
The specified Bounds b)Implements abstract javafx. Tests if the interior of this |
| public boolean | contains(double
the x coordinate of the upper-left corner of the specified
rectangular area x, double the y coordinate of the upper-left corner of the specified
rectangular area y, double the width of the specified rectangular area w, double the height of the specified rectangular area h)Implements abstract javafx. Tests if the interior of this |
| public boolean | contains(double
the x coordinate of the upper-left corner of the specified
rectangular volume x, double the y coordinate of the upper-left corner of the specified
rectangular volume y, double the z coordinate of the upper-left corner of the specified
rectangular volume z, double the width of the specified rectangular volume w, double the height of the specified rectangular volume h, double the depth of the specified rectangular volume 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
The specified Bounds b)Implements abstract javafx. Tests if the interior of this |
| public boolean | intersects(double
the x coordinate of the upper-left corner of the specified
rectangular area x, double the y coordinate of the upper-left corner of the specified
rectangular area y, double the width of the specified rectangular area w, double the height of the specified rectangular area h)Implements abstract javafx. Tests if the interior of this |
| public boolean | intersects(double
the x coordinate of the upper-left corner of the specified
rectangular volume x, double the y coordinate of the upper-left corner of the specified
rectangular volume y, double the z coordinate of the upper-left corner of the specified
rectangular volume z, double the width of the specified rectangular volume w, double the height of the specified rectangular volume h, double the depth of the specified rectangular volume 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
| |