public interface Spatial
| Modifier and Type | Method and Description |
|---|---|
Spatial |
clone(long id)
Creates a copy of this Spatial object with different id.
|
boolean |
equalsIgnoringId(Spatial o)
Check whether two objects are equals, but do not compare the id fields.
|
long |
getId()
Get id of this Spatial object
|
boolean |
isNull()
Test whether this object has no value
|
float |
max(int dim)
Get the maximum value for the given dimension.
|
float |
min(int dim)
Get the minimum value for the given dimension.
|
void |
setMax(int dim,
float x)
Set the maximum value for the given dimension.
|
void |
setMin(int dim,
float x)
Set the minimum value for the given dimension.
|
float min(int dim)
dim - the dimensionvoid setMin(int dim,
float x)
dim - the dimensionx - the valuefloat max(int dim)
dim - the dimensionvoid setMax(int dim,
float x)
dim - the dimensionx - the valueSpatial clone(long id)
id - for the new Spatial objectlong getId()
boolean isNull()
boolean equalsIgnoringId(Spatial o)
o - the other key