|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Indentifies 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
Indentifies 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
Indentifies the spatial model as a 2d raster. |
static int |
RASTER_3D
Indentifies the spatial model as a 3d raster. |
static int |
SEPARATE
Identifies this object as being separate from another. |
static int |
TIN
Indentifies 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_MODEL
Indentifies the spatial model is unknown. |
static int |
VECTOR_2D
Indentifies the spatial model as a 2d vector. |
static int |
VECTOR_3D
Indentifies 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 |
public static final int UNKNOWN_MODEL
public static final int RASTER_2D
public static final int VECTOR_2D
public static final int RASTER_3D
public static final int VECTOR_3D
public static final int TIN
public static final int CONTOUR
public static final int MSN
public static final float NO_VALUE
public static final float OUT_OF_BOUNDS
public static final int POINT
public static final int LINE
public static final int AREA
public static final int VOLUME
public static final int UNDEFINED
public static final int WITHIN
public static final int MATCHES
public static final int OVERLAPS
public static final int ENCLOSES
public static final int ADJACENT
public static final int SEPARATE
public static final int UNION
public static final int INTERSECTION
Method Detail |
public int getType()
public float getAttribute(Footprint location)
location
- Location to query.
public Footprint getBounds()
public void setBounds(Footprint bounds)
bounds
- New outer boundary of the object.public int compare(SpatialModel other)
other
- Other spatial object to compare with this one.
public SpatialModel subset(Footprint bounds)
bounds
- Bounds defing the clipping region.
public Header getHeader()
public 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 |