|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpatialModel
Identifies minimum state and behaviour of all spatial models.
Field Summary | |
---|---|
static int |
ADJACENT
Identifies this object as being adjacent to another. |
static int |
AREA
Identifies an areal object. |
static int |
CONTOUR
Identifies the spatial model as representing contour lines. |
static int |
ENCLOSES
Identifies this object as enclosing another. |
static int |
INTERSECTION
Used to signal an 'intersection' spatial combination. |
static int |
LINE
Identifies a linear object. |
static int |
MATCHES
Identifies this object as matching another. |
static int |
MSN
Identifies the spatial model as representing metric surface network. |
static float |
NO_VALUE
Indicates the value of the spatial model is undefined. |
static float |
OUT_OF_BOUNDS
Indicates that query is outside bounds of model. |
static int |
OVERLAPS
Identifies this object as overlapping another. |
static int |
POINT
Identifies a point object. |
static int |
RASTER_2D
Identifies the spatial model as a 2d raster. |
static int |
RASTER_3D
Identifies the spatial model as a 3d raster. |
static int |
SEPARATE
Identifies this object as being separate from another. |
static int |
TIN
Identifies the spatial model as a Triangulated Irregular Network. |
static int |
UNDEFINED
Identifies an undefined spatial comparison. |
static int |
UNION
Used to signal a 'union' spatial combination. |
static int |
UNKNOWN
Identifies that object is of unknown type. |
static int |
UNKNOWN_MODEL
Identifies the spatial model is unknown. |
static int |
VECTOR_2D
Identifies the spatial model as a 2d vector. |
static int |
VECTOR_3D
Identifies the spatial model as a 3d vector. |
static int |
VOLUME
Identifies a volumetric object. |
static int |
WITHIN
Identifies this object as being within another. |
Method Summary | |
---|---|
int |
compare(SpatialModel other)
Performs a spatial comparison between this object and another. |
float |
getAttribute(Footprint location)
Reports the attribute of the model at the given location. |
Footprint |
getBounds()
Reports the outer boundaries of the object. |
Header |
getHeader()
Reports the header information associated with this object. |
void |
getImage(int[] img,
int imgWidth)
Converts the spatial object into colour image for display. |
int |
getType()
Reports the type of spatial model. |
void |
setBounds(Footprint bounds)
Sets the outer boundaries of the object. |
SpatialModel |
subset(Footprint bounds)
Creates a new spatial model that is clipped to the given bounds. |
Field Detail |
---|
static final int UNKNOWN_MODEL
static final int RASTER_2D
static final int VECTOR_2D
static final int RASTER_3D
static final int VECTOR_3D
static final int TIN
static final int CONTOUR
static final int MSN
static final float NO_VALUE
static final float OUT_OF_BOUNDS
static final int UNKNOWN
static final int POINT
static final int LINE
static final int AREA
static final int VOLUME
static final int UNDEFINED
static final int WITHIN
static final int MATCHES
static final int OVERLAPS
static final int ENCLOSES
static final int ADJACENT
static final int SEPARATE
static final int UNION
static final int INTERSECTION
Method Detail |
---|
int getType()
float getAttribute(Footprint location)
location
- Location to query.
Footprint getBounds()
void setBounds(Footprint bounds)
bounds
- New outer boundary of the object.int compare(SpatialModel other)
other
- Other spatial object to compare with this one.
SpatialModel subset(Footprint bounds)
bounds
- Bounds defining the clipping region.
Header getHeader()
void getImage(int[] img, int imgWidth)
img
- Image array to store colours.imgWidth
- Image width.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |