deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.processing.raster.interpolation
Class InverseDistanceToPower

java.lang.Object
  extended by org.deegree.processing.raster.interpolation.Interpolation
      extended by 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 $

Field Summary
 
Fields inherited from class org.deegree.processing.raster.interpolation.Interpolation
autoincreaseSearchRadius1, autoincreaseSearchRadius2, data, ignoreValues, maxData, minData, noValue, searchRadius1, searchRadius2, searchRadiusAngle
 
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 org.deegree.processing.raster.interpolation.Interpolation
interpolate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org