|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jwo.landserf.process.SurfNetwork
public class SurfNetwork
Calculates a Wolf-Pfaltz Surface Network based on rasters containing elevation and surface features.
Constructor Summary | |
---|---|
SurfNetwork(RasterMap elev,
RasterMap feat,
float easting,
float northing,
int type)
Creates a ridge or channel from the given starting position over the given surface with the given slope tolerance. |
|
SurfNetwork(RasterMap elev,
RasterMap feat,
GISFrame gisFrame)
Sets up a surface network for storing surface topology. |
Method Summary | |
---|---|
void |
addPath(float easting,
float northing,
int type)
Adds a given path from the given coordinates to the surface network. |
void |
findNetwork()
Creates a surface network by (i) identifying surface specific passes; (ii) tracing ridge lines between passes in peaks and channel lines between passes and pits. |
GraphNetwork |
getMSN()
Returns the metric surface network graph. |
RasterMap |
getThinned()
Returns the thinned raster representation of the network. |
VectorMap |
getVectorMap()
Returns the vector map based on the current surface network. |
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 |
Constructor Detail |
---|
public SurfNetwork(RasterMap elev, RasterMap feat, float easting, float northing, int type)
elev
- Raster containing surface elevation.feat
- Raster containing feature or blank surface.easting
- Easting of starting position of ridge/channel.northing
- Northing of starting position of ridge/channel.type
- Type of feature to trace. Either SurfParam.RIDGE or SurfParam.CHANNEL.public SurfNetwork(RasterMap elev, RasterMap feat, GISFrame gisFrame)
elev
- Raster containing surface elevation.feat
- Raster containing surface features.gisFrame
- GISFrame to report progress.Method Detail |
---|
public void findNetwork()
public void addPath(float easting, float northing, int type)
easting
- Easting of starting position of ridge/channel.northing
- Northing of starting position of ridge/channel.type
- Type of path to calculate (SurfParam.RIDGE or SurfParam.CHANNEL).public void setCallingThread(LSThread lsThread)
lsThread
- Thread that called this process.public VectorMap getVectorMap()
public RasterMap getThinned()
public GraphNetwork getMSN()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |