com.supermap.realspace.spatialanalyst

类 InterpolationIDWParameter3D

  • 所有已实现的接口:
    IDisposable


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

      • 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 - 距离权重计算的幂次。
      • toString

        public String toString()
        返回一个表示 InterpolationIDWParameter3D 对象的字符串。
        覆盖:
        toString 在类中 InterpolationParameter3D
        返回:
        一个表示 InterpolationIDWParameter3D 对象的字符串。

Copyright © 2021–2024 SuperMap. All rights reserved.