|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.analyst.spatialanalyst.InterpolationParameter com.supermap.analyst.spatialanalyst.InterpolationDensityParameter
public class InterpolationDensityParameter
点密度差值(Density)插值参数类,继承自 InterpolationParameter
类。通过该类可以为点密度插值算法提供必要的参数信息。
点密度插值方法,用于表达采样点的密度分布情况。通常包含三个计算步骤:
点密度插值的结果栅格的分辨率设置需要结合点数据集范围大小来取值,一般结果栅格行列值(即结果栅格数据集范围除以分辨率)在 500 以内即可以较好的体现出密度走势。由于点密度插值暂时只支持定长搜索模式,因此搜索半径(SearchRadius)值设置较为重要,此值需要用户根据待插值点数据分布状况和点数据集范围进行设置。如下图所示,为一份二维点数据及对其进行点密度插值的结果。
构造方法摘要 | |
---|---|
InterpolationDensityParameter()
构造一个新的 InterpolationDensityParameter 对象。 |
|
InterpolationDensityParameter(double resolution,
double searchRadius)
根据指定的参数来构造一个 InterpolationDensityParameter 的新对象。 |
方法摘要 | |
---|---|
int |
getMaxPointCountForInterpolation()
此类不支持该接口。 |
int |
getMaxPointCountInNode()
此类不支持该接口。 |
InterpolationAlgorithmType |
getType()
返回插值算法类型。 |
void |
setMaxPointCountForInterpolation(int value)
此类不支持该接口。 |
void |
setMaxPointCountInNode(int value)
此类不支持该接口。 |
void |
setSearchMode(SearchMode searchMode)
设置查找模式。 |
java.lang.String |
toString()
返回一个表示 InterpolationDensityParameter 对象的字符串。 |
从类 com.supermap.analyst.spatialanalyst.InterpolationParameter 继承的方法 |
---|
dispose, getBounds, getExpectedCount, getResolution, getSearchMode, getSearchRadius, setBounds, setExpectedCount, setResolution, setSearchRadius |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造方法详细信息 |
---|
public InterpolationDensityParameter()
public InterpolationDensityParameter(double resolution, double searchRadius)
resolution
- 指定的插值运算所获得的栅格数据集的分辨率。searchRadius
- 指定的插值运算时查找参数运算点的查找范围。方法详细信息 |
---|
public void setSearchMode(SearchMode searchMode)
SearchMode
类。
重写基类的方法。目前暂时只支持定长查找(即SearchMode#KDTREE_FIXED_RADIUS
),设置其它查找模式会抛出异常。
InterpolationParameter
中的 setSearchMode
searchMode
- 查找模式。SearchMode
public java.lang.String toString()
InterpolationParameter
中的 toString
public InterpolationAlgorithmType getType()
InterpolationParameter
中的 getType
InterpolationAlgorithmType
public int getMaxPointCountInNode()
InterpolationParameter
中的 getMaxPointCountInNode
public void setMaxPointCountInNode(int value)
InterpolationParameter
中的 setMaxPointCountInNode
value
- 单个块内最多查找点数。public int getMaxPointCountForInterpolation()
InterpolationParameter
中的 getMaxPointCountForInterpolation
public void setMaxPointCountForInterpolation(int value)
InterpolationParameter
中的 setMaxPointCountForInterpolation
value
- 参与插值的最多点数。
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |