| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final float[] |
| Access | Constructor and Description |
|---|---|
| public | DefaultSpatial(long
the id id, float... min x, max x, min y, max y, and so on minMax)Create a new key. |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Spatial | clone(long
for the new Spatial object id)Implements org. Creates a copy of this Spatial object with different id. |
| public boolean | equalsIgnoringId(Spatial
the other key o)Implements org. Check whether two objects are equals, but do not compare the id fields. |
| public long | |
| public boolean | |
| public float | max(int
the dimension dim)Implements org. Get the maximum value for the given dimension. |
| public float | min(int
the dimension dim)Implements org. Get the minimum value for the given dimension. |
| public void | setMax(int
the dimension dim, float the value x)Implements org. Set the maximum value for the given dimension. |
| public void | setMin(int
the dimension dim, float the value x)Implements org. Set the minimum value for the given dimension. |
| id | back to summary |
|---|---|
| private final long id | |
| minMax | back to summary |
|---|---|
| private final float[] minMax | |
| DefaultSpatial | back to summary |
|---|---|
| public DefaultSpatial(long id, float... minMax) Create a new key.
| |
| DefaultSpatial | back to summary |
|---|---|
| private DefaultSpatial(long id, DefaultSpatial other) | |
| clone | back to summary |
|---|---|
| public Spatial clone(long id) Implements org. Doc from org. Creates a copy of this Spatial object with different id. | |
| equalsIgnoringId | back to summary |
|---|---|
| public boolean equalsIgnoringId(Spatial o) Implements org. Doc from org. Check whether two objects are equals, but do not compare the id fields. | |
| getId | back to summary |
|---|---|
| public long getId() Implements org. Doc from org. Get id of this Spatial object
| |
| isNull | back to summary |
|---|---|
| public boolean isNull() Implements org. Doc from org. Test whether this object has no value
| |
| max | back to summary |
|---|---|
| public float max(int dim) Implements org. Doc from org. Get the maximum value for the given dimension.
| |
| min | back to summary |
|---|---|
| public float min(int dim) Implements org. Doc from org. Get the minimum value for the given dimension.
| |
| setMax | back to summary |
|---|---|
| public void setMax(int dim, float x) Implements org. Doc from org. Set the maximum value for the given dimension.
| |
| setMin | back to summary |
|---|---|
| public void setMin(int dim, float x) Implements org. Doc from org. Set the minimum value for the given dimension.
| |