| Modifier and Type | Field and Description |
|---|---|
| private double | |
| private double | |
| private double | |
| private double | |
| private double | |
| private double | |
| private double | |
| private double | |
| private double |
| Access | Constructor and Description |
|---|---|
| protected | Bounds(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 Boundsthe width of the width, double Boundsthe height of the height, double Boundsthe depth of the depth)BoundsCreates a new instance of |
| Modifier and Type | Method and Description |
|---|---|
| public abstract boolean | |
| public abstract boolean | |
| public abstract boolean | Returns: true if the specified(x, y) coordinates are inside the
boundary of this Bounds; false otherwisethe specified x coordinate to be tested x, double the specified y coordinate to be tested y)Tests if the specified |
| public abstract boolean | Returns: true if the specified(x, y) coordinates are inside the
boundary of this Bounds; false otherwisethe 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)Tests if the specified |
| public abstract boolean | |
| public abstract boolean | Returns: true if the interior of thisBounds entirely contains
the specified rectangular area; false otherwisethe 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)Tests if the interior of this |
| public abstract boolean | Returns: true if the interior of thisBounds entirely contains
the specified rectangular area; false otherwisethe 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)Tests if the interior of this |
| public final double | |
| public final double | |
| public final double | |
| public final double | |
| public final double | |
| public final double | Returns: the x coordinate of the lower-right cornerThe x coordinate of the lower-right corner of this |
| public final double | Returns: the y coordinate of the lower-right cornerThe y coordinate of the lower-right corner of this |
| public final double | |
| public final double | Returns: the x coordinate of the upper-left cornerThe x coordinate of the upper-left corner of this |
| public final double | Returns: the y coordinate of the upper-left cornerThe y coordinate of the upper-left corner of this |
| public final double | |
| public final double | |
| public abstract boolean | Returns: true if the interior of thisBounds and the interior
of the specified Bounds, b, intersectThe specified Bounds b)Tests if the interior of this |
| public abstract boolean | Returns: true if the interior of thisBounds and the interior
of the rectangular area intersectthe 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)Tests if the interior of this |
| public abstract boolean | Returns: true if the interior of thisBounds and the interior
of the rectangular area intersectthe 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)Tests if the interior of this |
| public abstract boolean | Returns: true if any of the dimensions(width, height or depth) of this bounds is less than zeroIndicates whether any of the dimensions(width, height or depth) of this bounds is less than zero. |
| depth | back to summary |
|---|---|
| private double depth | |
| height | back to summary |
|---|---|
| private double height | |
| maxX | back to summary |
|---|---|
| private double maxX | |
| maxY | back to summary |
|---|---|
| private double maxY | |
| maxZ | back to summary |
|---|---|
| private double maxZ | |
| minX | back to summary |
|---|---|
| private double minX | |
| minY | back to summary |
|---|---|
| private double minY | |
| minZ | back to summary |
|---|---|
| private double minZ | |
| width | back to summary |
|---|---|
| private double width | |
| Bounds | back to summary |
|---|---|
| protected Bounds(double minX, double minY, double minZ, double width, double height, double depth) Creates a new instance of
| |
| contains | back to summary |
|---|---|
| public abstract boolean contains(Point2D p) Tests if the specified point is inside the boundary of
| |
| contains | back to summary |
|---|---|
| public abstract boolean contains(Point3D p) Tests if the specified point is inside the boundary of
| |
| contains | back to summary |
|---|---|
| public abstract boolean contains(double x, double y) Tests if the specified
| |
| contains | back to summary |
|---|---|
| public abstract boolean contains(double x, double y, double z) Tests if the specified
| |
| contains | back to summary |
|---|---|
| public abstract boolean contains(Bounds b) Tests if the interior of this
| |
| contains | back to summary |
|---|---|
| public abstract boolean contains(double x, double y, double w, double h) Tests if the interior of this
| |
| contains | back to summary |
|---|---|
| public abstract boolean contains(double x, double y, double z, double w, double h, double d) Tests if the interior of this
| |
| getCenterX | back to summary |
|---|---|
| public final double getCenterX() The central x coordinate of this Implementation Specification This call is equivalent to
| |
| getCenterY | back to summary |
|---|---|
| public final double getCenterY() The central y coordinate of this Implementation Specification This call is equivalent to
| |
| getCenterZ | back to summary |
|---|---|
| public final double getCenterZ() The central z coordinate of this Implementation Specification This call is equivalent to
| |
| getDepth | back to summary |
|---|---|
| public final double getDepth() The depth of this
| |
| getHeight | back to summary |
|---|---|
| public final double getHeight() The height of this
| |
| getMaxX | back to summary |
|---|---|
| public final double getMaxX() The x coordinate of the lower-right corner of this
| |
| getMaxY | back to summary |
|---|---|
| public final double getMaxY() The y coordinate of the lower-right corner of this
| |
| getMaxZ | back to summary |
|---|---|
| public final double getMaxZ() The maximum z coordinate of this
| |
| getMinX | back to summary |
|---|---|
| public final double getMinX() The x coordinate of the upper-left corner of this
| |
| getMinY | back to summary |
|---|---|
| public final double getMinY() The y coordinate of the upper-left corner of this
| |
| getMinZ | back to summary |
|---|---|
| public final double getMinZ() The minimum z coordinate of this
| |
| getWidth | back to summary |
|---|---|
| public final double getWidth() The width of this
| |
| intersects | back to summary |
|---|---|
| public abstract boolean intersects(Bounds b) Tests if the interior of this
| |
| intersects | back to summary |
|---|---|
| public abstract boolean intersects(double x, double y, double w, double h) Tests if the interior of this
| |
| intersects | back to summary |
|---|---|
| public abstract boolean intersects(double x, double y, double z, double w, double h, double d) Tests if the interior of this
| |
| isEmpty | back to summary |
|---|---|
| public abstract boolean isEmpty() Indicates whether any of the dimensions(width, height or depth) of this bounds is less than zero.
| |