| Modifier and Type | Class and Description |
|---|---|
| public static enum | BaseBounds.
The different types of BaseBounds that are currently supported. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | |
| public abstract void | |
| public abstract boolean | |
| public abstract boolean | |
| public abstract BaseBounds | |
| public abstract BaseBounds | |
| public abstract BaseBounds | |
| public abstract BaseBounds | |
| public abstract BaseBounds | |
| public abstract BaseBounds | |
| public abstract BaseBounds | |
| public abstract boolean | |
| public abstract RectBounds | Returns: a non-null reference to a RectBounds containing the minX, minY, maxX, and maxY of this BoxBounds.The bounds to fill with values, or null. If null, a new RectBounds
is returned. If not null, the given bounds will be populated and
then returned bounds)Sets the given RectBounds (or creates a new instance of bounds is null) to have the minX, minY, maxX, and maxY of this BoxBounds, dropping the Z values. |
| public abstract BaseBounds. | |
| public abstract float | |
| public abstract float | |
| public static BaseBounds | |
| public static BaseBounds | |
| public abstract Vec2f | |
| public abstract Vec3f | |
| public abstract float | |
| public abstract float | |
| public abstract float | |
| public abstract Vec2f | |
| public abstract Vec3f | |
| public abstract float | |
| public abstract float | |
| public abstract float | |
| public abstract float | |
| public abstract boolean | |
| public abstract void | |
| public abstract void | |
| public abstract void | |
| public abstract boolean | |
| public abstract boolean | |
| public abstract BaseBounds | |
| public abstract void | |
| public abstract void | setBoundsAndSort(Point2D p1, Point2D p2)
Sets the bounds based on the given points, and also ensures that after having done so that this bounds instance is sorted (x1<=x2 and y1<=y2). |
| public abstract void | |
| protected abstract void | |
| public abstract void |
| BaseBounds | back to summary |
|---|---|
| pack-priv BaseBounds() | |
| add | back to summary |
|---|---|
| public abstract void add(Point2D p) | |
| add | back to summary |
|---|---|
| public abstract void add(float x, float y, float z) | |
| contains | back to summary |
|---|---|
| public abstract boolean contains(Point2D p) | |
| contains | back to summary |
|---|---|
| public abstract boolean contains(float x, float y) | |
| copy | back to summary |
|---|---|
| public abstract BaseBounds copy() Duplicates this instance. This differs from deriveWithNewBounds(other) where "other" would be this, in that derive methods may return the same instance, whereas copy will always return a new instance. | |
| deriveWithNewBounds | back to summary |
|---|---|
| public abstract BaseBounds deriveWithNewBounds(Rectangle other) | |
| deriveWithNewBounds | back to summary |
|---|---|
| public abstract BaseBounds deriveWithNewBounds(BaseBounds other) | |
| deriveWithNewBounds | back to summary |
|---|---|
| public abstract BaseBounds deriveWithNewBounds(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) | |
| deriveWithNewBoundsAndSort | back to summary |
|---|---|
| public abstract BaseBounds deriveWithNewBoundsAndSort(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) | |
| deriveWithPadding | back to summary |
|---|---|
| public abstract BaseBounds deriveWithPadding(float h, float v, float d) | |
| deriveWithUnion | back to summary |
|---|---|
| public abstract BaseBounds deriveWithUnion(BaseBounds other) | |
| disjoint | back to summary |
|---|---|
| public abstract boolean disjoint(float x, float y, float width, float height) | |
| flattenInto | back to summary |
|---|---|
| public abstract RectBounds flattenInto(RectBounds bounds) Sets the given RectBounds (or creates a new instance of bounds is null) to have the minX, minY, maxX, and maxY of this BoxBounds, dropping the Z values.
| |
| getBoundsType | back to summary |
|---|---|
| public abstract BaseBounds. | |
| getDepth | back to summary |
|---|---|
| public abstract float getDepth() Convenience function for getting the depth of this bounds. The dimension along the Z-Axis. | |
| getHeight | back to summary |
|---|---|
| public abstract float getHeight() Convenience function for getting the height of this bounds. The dimension along the Y-Axis. | |
| getInstance | back to summary |
|---|---|
| public static BaseBounds getInstance(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) | |
| getInstance | back to summary |
|---|---|
| public static BaseBounds getInstance(float minX, float minY, float maxX, float maxY) | |
| getMax | back to summary |
|---|---|
| public abstract Vec2f getMax(Vec2f max) | |
| getMax | back to summary |
|---|---|
| public abstract Vec3f getMax(Vec3f max) | |
| getMaxX | back to summary |
|---|---|
| public abstract float getMaxX() | |
| getMaxY | back to summary |
|---|---|
| public abstract float getMaxY() | |
| getMaxZ | back to summary |
|---|---|
| public abstract float getMaxZ() | |
| getMin | back to summary |
|---|---|
| public abstract Vec2f getMin(Vec2f min) | |
| getMin | back to summary |
|---|---|
| public abstract Vec3f getMin(Vec3f min) | |
| getMinX | back to summary |
|---|---|
| public abstract float getMinX() | |
| getMinY | back to summary |
|---|---|
| public abstract float getMinY() | |
| getMinZ | back to summary |
|---|---|
| public abstract float getMinZ() | |
| getWidth | back to summary |
|---|---|
| public abstract float getWidth() Convenience function for getting the width of this bounds. The dimension along the X-Axis. | |
| intersects | back to summary |
|---|---|
| public abstract boolean intersects(float x, float y, float width, float height) | |
| intersectWith | back to summary |
|---|---|
| public abstract void intersectWith(Rectangle other) | |
| intersectWith | back to summary |
|---|---|
| public abstract void intersectWith(BaseBounds other) | |
| intersectWith | back to summary |
|---|---|
| public abstract void intersectWith(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) | |
| is2D | back to summary |
|---|---|
| public abstract boolean is2D() Return true if this bounds is of a 2D BoundsType, else false. | |
| isEmpty | back to summary |
|---|---|
| public abstract boolean isEmpty() | |
| makeEmpty | back to summary |
|---|---|
| public abstract BaseBounds makeEmpty() | |
| roundOut | back to summary |
|---|---|
| public abstract void roundOut() | |
| setBoundsAndSort | back to summary |
|---|---|
| public abstract void setBoundsAndSort(Point2D p1, Point2D p2) Sets the bounds based on the given points, and also ensures that after having done so that this bounds instance is sorted (x1<=x2 and y1<=y2). | |
| setBoundsAndSort | back to summary |
|---|---|
| public abstract void setBoundsAndSort(float minX, float minY, float minZ, float maxX, float maxY, float maxZ) | |
| sortMinMax | back to summary |
|---|---|
| protected abstract void sortMinMax() | |
| translate | back to summary |
|---|---|
| public abstract void translate(float x, float y, float z) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final BaseBounds. | |
| public static final BaseBounds. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BaseBounds. | |
| public static BaseBounds. |
| BOX | back to summary |
|---|---|
| public static final BaseBounds. | |
| RECTANGLE | back to summary |
|---|---|
| public static final BaseBounds. | |
| BoundsType | back to summary |
|---|---|
| private BoundsType() | |
| valueOf | back to summary |
|---|---|
| public static BaseBounds. | |
| values | back to summary |
|---|---|
| public static BaseBounds. | |