|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jwo.landserf.structure.SpatialObject jwo.landserf.structure.DummySpatialObject
public class DummySpatialObject
Dummy generic spatial object that can be used when an instantiated generic spatial object is required.
Field Summary |
---|
Fields inherited from interface jwo.landserf.structure.SpatialModel |
---|
ADJACENT, AREA, CONTOUR, ENCLOSES, INTERSECTION, LINE, MATCHES, MSN, NO_VALUE, OUT_OF_BOUNDS, OVERLAPS, POINT, RASTER_2D, RASTER_3D, SEPARATE, TIN, UNDEFINED, UNION, UNKNOWN, UNKNOWN_MODEL, VECTOR_2D, VECTOR_3D, VOLUME, WITHIN |
Constructor Summary | |
---|---|
DummySpatialObject()
|
Method Summary | |
---|---|
float |
getAttribute(Footprint location)
Would report the attribute of the model at the given location, but does nothing in this case. |
void |
getImage(int[] img,
int imgWidth)
Would convert the spatial object into colour image for display, but does nothing in this case. |
float |
getMaxAttribute()
Would report the maximum attribute value of the object, but does nothing in this case. |
float |
getMinAttribute()
Would report the minimum attribute value of the object, but does nothing in this case. |
SpatialModel |
subset(Footprint bounds)
Would creates a new spatial model that is clipped to the given bounds, but does nothing in this case. |
void |
updateBounds()
Would force the object to find its new spatial and attribute bounds, but does nothing in this case. |
Methods inherited from class jwo.landserf.structure.SpatialObject |
---|
compare, getAttributeTable, getBounds, getColourTable, getComparisonText, getHeader, getIntersectionMER, getProjection, getType, getTypeName, getTypeName, getUnionMER, move, setAttributeTable, setBounds, setColourTable, setHeader, setProjection, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DummySpatialObject()
Method Detail |
---|
public float getAttribute(Footprint location)
getAttribute
in interface SpatialModel
getAttribute
in class SpatialObject
location
- Location to query.
public float getMinAttribute()
getMinAttribute
in class SpatialObject
public float getMaxAttribute()
getMaxAttribute
in class SpatialObject
public void getImage(int[] img, int imgWidth)
getImage
in interface SpatialModel
getImage
in class SpatialObject
img
- Image array to store colours.imgWidth
- Image width.public SpatialModel subset(Footprint bounds)
subset
in interface SpatialModel
subset
in class SpatialObject
bounds
- Bounds defining the clipping region.
public void updateBounds()
updateBounds
in class SpatialObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |