|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjwo.landserf.process.SurfParam
Calculates surface parameters from a RasterMap object.
Field Summary | |
static int |
CHANNEL
Channel feature. |
static float |
DEG2RAD
Converts degrees to radians. |
static int |
PASS
Pass (saddle) feature. |
static int |
PEAK
Peak feature. |
static int |
PIT
Pit feature. |
static int |
PLANAR
Planar (no) feature. |
static float |
RAD2DEG
Converts radians to degrees. |
static int |
RIDGE
Ridge feature. |
static float |
TWOPI
2*PI (360 degrees in radians). |
static int |
UNDEFINED
Undefined feature. |
static int |
UPEAK
'Unviersal peak' |
static int |
UPIT
'Unviersal pit' (eg sea). |
Constructor Summary | |
SurfParam(GISFrame gisFrame,
int pt)
Sets up a surface ready for parameterisation (slope, aspect etc.) or feature extraction from a raster surface. |
Method Summary | |
float |
calcZAt(float easting,
float northing)
Calculates Z value at the given location using the currently set window size. |
void |
findParam()
Does the calculation of the surface parameter (slope, aspect etc.). |
static String |
getFeatureName(int featureType)
Returns a string representing the feature name of a given fearture code. |
RasterMap |
getSurfParam()
Returns the new raster surface containing the surface parameterisation. |
void |
setCallingThread(LSThread lsThread)
Passes the thread that calls this process to the processor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int UNDEFINED
public static final int PIT
public static final int CHANNEL
public static final int PASS
public static final int RIDGE
public static final int PEAK
public static final int PLANAR
public static final int UPIT
public static final int UPEAK
public static final float RAD2DEG
public static final float DEG2RAD
public static final float TWOPI
Constructor Detail |
public SurfParam(GISFrame gisFrame, int pt)
gisFrame
- GUI holding elevation raster and message output.pt
- Parameter type to calculate.Method Detail |
public void setCallingThread(LSThread lsThread)
lsThread
- Thread that called this process.public void findParam()
public float calcZAt(float easting, float northing)
easting
- Easting of point to query.northing
- Northing of point to query.
public RasterMap getSurfParam()
public static String getFeatureName(int featureType)
featureType
- The code representig the feature type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |