com.supermap.realspace.spatialanalyst
类 InterpolationIDWParameter3D
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.realspace.spatialanalyst.InterpolationParameter3D
-
- com.supermap.realspace.spatialanalyst.InterpolationIDWParameter3D
-
- 所有已实现的接口:
- IDisposable
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)
设置查找方式。String
toString()
返回一个表示 InterpolationIDWParameter3D 对象的字符串。-
从类继承的方法 com.supermap.realspace.spatialanalyst.InterpolationParameter3D
dispose, getBounds, getExpectedCount, getResolution, getSearchMode, getSearchRadius, getSliceAltitudes, setBounds, setExpectedCount, setResolution, setSearchRadius, setSliceAltitudes
-
-
-
-
构造器详细资料
-
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
- 指定的距离权重计算的幂次。
-
-
方法详细资料
-
getType
public InterpolationAlgorithmType getType()
返回插值算法类型。- 指定者:
getType
在类中InterpolationParameter3D
- 返回:
- 插值算法的类型。
- 另请参阅:
InterpolationAlgorithmType
-
getPower
public int getPower()
返回距离权重计算的幂次。幂次值越低,内插结果越平滑,幂次值越高,内插结果细节越详细。此参数应为一个大于0的值。如果不指定此参数,方法缺省将其设置为1。
- 返回:
- 距离权重计算的幂次。
- 默认值:
- 默认值为 1。
-
setPower
public void setPower(int value)
设置距离权重计算的幂次。幂次值越低,内插结果越平滑,幂次值越高,内插结果细节越详细。此参数应为一个大于0的值。如果不指定此参数,方法缺省将其设置为1。
- 参数:
value
- 距离权重计算的幂次。
-
setSearchMode
public void setSearchMode(SearchMode searchMode)
设置查找方式。请参见SearchMode
类。重写基类的方法,当设置查找方式
SearchMode
为QUADTREE
时抛出异常,表示不支持该查找方式。- 覆盖:
setSearchMode
在类中InterpolationParameter3D
- 参数:
searchMode
- 查找方式。- 另请参阅:
SearchMode
-
toString
public String toString()
返回一个表示 InterpolationIDWParameter3D 对象的字符串。- 覆盖:
toString
在类中InterpolationParameter3D
- 返回:
- 一个表示 InterpolationIDWParameter3D 对象的字符串。
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.