|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gumbo.graphic.probe.Bound3
A base class for 3D spatial elements that represent a spatial bound. Supports the concept of an "empty" bound, which is a bound that contains no bound extent (no geometry), as distinct from a bound whose extent has no volume, such as a point. An empty bounds is the result of volumetrically intersecting two non-overlapping bounds. As a bound, this object is intrinsically boundable.
Constructor Summary | |
Bound3()
Creates an instance, that is cleared. |
Method Summary | |
abstract Bound3 |
clear()
Clears the bound by clearing its components (zero position, zero volume) and setting it empty. |
boolean |
equals(java.lang.Object obj)
|
Bound3 |
getBound3()
Gets a singleton immutable view of this object with the same identity (hashCode(), equals()) as this object. |
java.lang.Object |
getGraphic()
Default implementation: Returns this (non-native implementation). |
SpaceNode |
getGraphicLocalSpace()
Default implementation: Returns null (absolute reference space). |
abstract boolean |
isEmpty()
Returns true if the bound is empty, because it has never been set, it has been cleared, or as the result of a null intersection. |
abstract Bound3 |
set(Bound3 bound)
Copies the value of a (possibly empty) bound into this one. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Bound3()
Method Detail |
public abstract Bound3 set(Bound3 bound)
bound
- Bound to be copied. Never null.
public abstract Bound3 clear()
public abstract boolean isEmpty()
public Bound3 getBound3()
public SpaceNode getGraphicLocalSpace()
getGraphicLocalSpace
in interface GraphicGeometry
public java.lang.Object getGraphic()
getGraphic
in interface Graphic
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |