jwo.landserf.process
Class TinPointsThread
java.lang.Object
java.lang.Thread
jwo.landserf.process.LSThread
jwo.landserf.process.TinPointsThread
- All Implemented Interfaces:
- Runnable
- public class TinPointsThread
- extends LSThread
Converts between a point collection and TIN.
- Version:
- 2.1, 3rd September, 2004.
- Author:
- Jo Wood
Field Summary |
static int |
POINTS_TO_TIN
Indicates a transformation from points to TIN. |
static int |
TIN_TO_POINTS
Indicates a transformation from TIN to points. |
Method Summary |
void |
doProcessing()
Convert the TIN into DEM representation. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
POINTS_TO_TIN
public static final int POINTS_TO_TIN
- Indicates a transformation from points to TIN.
- See Also:
- Constant Field Values
TIN_TO_POINTS
public static final int TIN_TO_POINTS
- Indicates a transformation from TIN to points.
- See Also:
- Constant Field Values
TinPointsThread
public TinPointsThread(GISFrame gisFrame,
int direction)
- Converts between TIN and point collection. If direction is TIN_TO_POINTS,
it will extract the vertices as a collection of points. Otherwise it will
attempt to perform a Delaunay triangulation to create a TIN.
- Parameters:
gisFrame
- GUI containing TIN or points.direction
- Direction of transformation (either POINTS_TO_TIN or TIN_TO_POINTS).
doProcessing
public void doProcessing()
- Convert the TIN into DEM representation.
- Specified by:
doProcessing
in class LSThread
Copyright Jo Wood, 1996-2004, last modified, 3rd September, 2004