com.supermap.realspace.spatialanalyst
类 InterpolationIDWParameter3D

java.lang.Object
  继承者 com.supermap.realspace.spatialanalyst.InterpolationParameter3D
      继承者 com.supermap.realspace.spatialanalyst.InterpolationIDWParameter3D

public class InterpolationIDWParameter3D
extends InterpolationParameter3D

距离反比权值插值(Inverse Distance Weighted)参数类,继承自 InterpolationParameter3D 类。通过该类可以为 IDW 插值算法提供必要的参数信息,包括距离权重计算的幂次、查找模式、插值运算时使用的分辨率、查找的范围等。


构造方法摘要
InterpolationIDWParameter3D()
          构造一个新的 InterpolationIDWParameter3D 对象。
InterpolationIDWParameter3D(double resolution, SearchMode mode, double searchRadius, int expectedCount)
          根据指定的参数构造一个 InterpolationIDWParameter3D 的新对象。
InterpolationIDWParameter3D(double resolution, SearchMode mode, double searchRadius, int expectedCount, int power)
          根据指定的参数构造一个 InterpolationIDWParameter3D 的新对象。
 
方法摘要
 int getPower()
          返回距离权重计算的幂次。
 InterpolationAlgorithmType getType()
          返回插值算法类型。
 void setPower(int value)
          设置距离权重计算的幂次。
 void setSearchMode(SearchMode searchMode)
          设置查找方式。
 java.lang.String toString()
          返回一个表示 InterpolationIDWParameter3D 对象的字符串。
 
从类 com.supermap.realspace.spatialanalyst.InterpolationParameter3D 继承的方法
dispose, getBounds, getExpectedCount, getMaxPointCountForInterpolation, getMaxPointCountInNode, getResolution, getSearchMode, getSearchRadius, getSliceAltitudes, setBounds, setExpectedCount, setMaxPointCountForInterpolation, setMaxPointCountInNode, setResolution, setSearchRadius, setSliceAltitudes
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

InterpolationIDWParameter3D

public InterpolationIDWParameter3D()
构造一个新的 InterpolationIDWParameter3D 对象。


InterpolationIDWParameter3D

public InterpolationIDWParameter3D(double resolution,
                                   SearchMode mode,
                                   double searchRadius,
                                   int expectedCount)
根据指定的参数构造一个 InterpolationIDWParameter3D 的新对象。

参数:
resolution - 指定的插值运算时使用的分辨率。
mode - 指定插值运算时,查找参与运算点的方式。
searchRadius - 指定的查找范围。
expectedCount - 指定的需要查找的点数。

InterpolationIDWParameter3D

public InterpolationIDWParameter3D(double resolution,
                                   SearchMode mode,
                                   double searchRadius,
                                   int expectedCount,
                                   int power)
根据指定的参数构造一个 InterpolationIDWParameter3D 的新对象。

参数:
resolution - 指定的插值运算时使用的分辨率。
mode - 指定插值运算时,查找参与运算点的方式。
searchRadius - 指定的查找范围。
expectedCount - 指定的需要查找的点数。
power - 指定的距离权重计算的幂次。
方法详细信息

getPower

public int getPower()
返回距离权重计算的幂次。

幂次值越低,内插结果越平滑,幂次值越高,内插结果细节越详细。此参数应为一个大于0的值。如果不指定此参数,方法缺省将其设置为1。

返回:
距离权重计算的幂次。
默认值:
默认值为 1。

setPower

public void setPower(int value)
设置距离权重计算的幂次。

幂次值越低,内插结果越平滑,幂次值越高,内插结果细节越详细。此参数应为一个大于0的值。如果不指定此参数,方法缺省将其设置为1。

参数:
value - 距离权重计算的幂次。

setSearchMode

public void setSearchMode(SearchMode searchMode)
设置查找方式。请参见 SearchMode 类。

重写基类的方法,当设置查找方式 SearchModeQUADTREE 时抛出异常,表示不支持该查找方式。

覆盖:
InterpolationParameter3D 中的 setSearchMode
参数:
searchMode - 查找方式。
另请参见:
SearchMode

toString

public java.lang.String toString()
返回一个表示 InterpolationIDWParameter3D 对象的字符串。

覆盖:
InterpolationParameter3D 中的 toString
返回:
一个表示 InterpolationIDWParameter3D 对象的字符串。

getType

public InterpolationAlgorithmType getType()
返回插值算法类型。

指定者:
InterpolationParameter3D 中的 getType
返回:
插值算法的类型。
另请参见:
InterpolationAlgorithmType