- All Implemented Interfaces:
- JWInterruptionListener, Runnable
- public class PolySurfaceThread
- extends LSThread
Calculates a polynomial surface.
- 2.2, 5th December, 2004.
- Jo Wood
Create the polynomial surface.
|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
public PolySurfaceThread(GISFrame gisFrame,
- Creates a polynomical surface with the given expression. Note that
the raster created by this thread will be set to be the primary raster
so that the previous primary raster (
origRast1) must be
passed to this constructor as a separate parameter.
gisFrame - Frame in which to report results.
origRast1 - Original primary raster (contains z1 values).
polynomial - Polynomial to calculate.
public void doProcessing()
- Create the polynomial surface. Note that unlike some of the classes in the
jwo.landser.process package, this class does not create a
new raster map, but instead 'fills' the existing primary raster stored in
GISFrame provided to the constructor. This is to make it
easier to allow a polynomial surface to be created by default in a new GISFrame.
To retrieve the polynomial surface, call
after this process has completed.
Note that this method will be called automatically if this is run as a threaded
process (e.g. myPolySurfaceThread.start()). Alternatively it can be called directly
as a non-threaded process.
- Specified by:
doProcessing in class
- See Also:
Copyright Jo Wood, 1996-2005, last modified, 11th March, 2005