org.deegree.processing.raster.interpolation
Class InverseDistanceToPower
java.lang.Object
org.deegree.processing.raster.interpolation.Interpolation
org.deegree.processing.raster.interpolation.InverseDistanceToPower
public class InverseDistanceToPower
- extends Interpolation
Class for interpolating a set of data tuples (x, y, value) onto a grid using Inverse Distance to
Power algorithm
- Version:
- $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
Constructor Summary |
InverseDistanceToPower(Quadtree<?> data,
double power)
|
InverseDistanceToPower(Quadtree<?> data,
Values ignoreValues,
double power)
|
InverseDistanceToPower(Quadtree<?> data,
Values ignoreValues,
double searchRadius1,
double searchRadius2,
double searchRadiusAngle,
int minData,
int maxData,
double noValue,
double autoincreaseSearchRadius1,
double autoincreaseSearchRadius2,
double power)
|
Method Summary |
double |
calcInterpolatedValue(double x,
double y,
double searchRadius1,
double searchRadius2)
calculates the interpolated value for a position defined by x and y |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InverseDistanceToPower
public InverseDistanceToPower(Quadtree<?> data,
double power)
- Parameters:
data
- power
-
InverseDistanceToPower
public InverseDistanceToPower(Quadtree<?> data,
Values ignoreValues,
double power)
- Parameters:
data
- ignoreValues
- power
-
InverseDistanceToPower
public InverseDistanceToPower(Quadtree<?> data,
Values ignoreValues,
double searchRadius1,
double searchRadius2,
double searchRadiusAngle,
int minData,
int maxData,
double noValue,
double autoincreaseSearchRadius1,
double autoincreaseSearchRadius2,
double power)
- Parameters:
data
- ignoreValues
- searchRadius1
- searchRadius2
- searchRadiusAngle
- minData
- maxData
- noValue
- autoincreaseSearchRadius1
- autoincreaseSearchRadius2
- power
-
calcInterpolatedValue
public double calcInterpolatedValue(double x,
double y,
double searchRadius1,
double searchRadius2)
throws InterpolationException
- calculates the interpolated value for a position defined by x and y
- Specified by:
calcInterpolatedValue
in class Interpolation
- Parameters:
x
- y
-
- Returns:
- the interpolated value
- Throws:
InterpolationException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org