sexi.util
Class TopographyCalculator
java.lang.Object
|
+--sexi.util.TopographyCalculator
- All Implemented Interfaces:
- CalculatorEvent, java.lang.Runnable
- public class TopographyCalculator
- extends java.lang.Object
- implements java.lang.Runnable, CalculatorEvent
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TREE_LOCATION
static int TREE_LOCATION
POINT_LOCATION
static int POINT_LOCATION
minX
double minX
minY
double minY
maxX
double maxX
maxY
double maxY
aborted
boolean aborted
progress
float progress
method
int method
calculationSize
int calculationSize
topoInput
Point3f[] topoInput
pointsOutput
Point3f[] pointsOutput
treeOutput
TreeBasic[] treeOutput
listenerList
java.util.ArrayList listenerList
result
java.lang.Object result
TopographyCalculator
public TopographyCalculator()
setTopography
public void setTopography(Point3f[] topography,
Point3f[] output)
setTopography
public void setTopography(Point3f[] topography,
TreeBasic[] output)
addCalculatorListener
public void addCalculatorListener(CalculatorListener l)
removeCalculatorListener
public void removeCalculatorListener(CalculatorListener l)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
getCurrentProgress
public double getCurrentProgress()
- Specified by:
getCurrentProgress
in interface CalculatorEvent
getMinProgress
public double getMinProgress()
- Specified by:
getMinProgress
in interface CalculatorEvent
getMaxProgress
public double getMaxProgress()
- Specified by:
getMaxProgress
in interface CalculatorEvent
getResult
public java.lang.Object getResult()
- Specified by:
getResult
in interface CalculatorEvent
getSource
public java.lang.Object getSource()
- Specified by:
getSource
in interface CalculatorEvent