public class FootprintRegularizationParameter extends Object
构造器和说明 |
---|
FootprintRegularizationParameter()
构造一个新的 FootprintRegularizationParameter 对象。
|
FootprintRegularizationParameter(boolean isMoreDetail,
double removedAreaThreshold,
double removedHoleAreaThreshold,
double duplicatePointThreshold,
double shrinkedThreshold,
double blockThreshold)
根据传入的参数,来构造一个新对象。
|
限定符和类型 | 方法和说明 |
---|---|
double |
getBlockThreshold()
返回块简化容差,单位:米。
|
double |
getDuplicatePointThreshold()
返回冗余点移除阈值,单位:米。
|
double |
getRemovedAreaThreshold()
返回移除面积阈值,单位:平方米。
|
double |
getRemovedHoleAreaThreshold()
返回移除孔洞面积,单位:平方米。
|
double |
getShrinkedThreshold()
返回腐蚀膨胀收缩处理阈值,单位:米。
|
boolean |
isMoreDetail()
返回是否保留更多细节。
|
void |
setBlockThreshold(double blockThreshold)
设置块简化容差。
|
void |
setDuplicatePointThreshold(double duplicatePointThreshold)
设置冗余点移除阈值。
|
void |
setMoreDetail(boolean moreDetail)
设置是否保留更多细节。
|
void |
setRemovedAreaThreshold(double removedAreaThreshold)
设置移除面积阈值。
|
void |
setRemovedHoleAreaThreshold(double removedHoleAreaThreshold)
设置移除孔洞面积。
|
void |
setShrinkedThreshold(double shrinkedThreshold)
设置腐蚀膨胀收缩处理阈值。
|
public FootprintRegularizationParameter()
public FootprintRegularizationParameter(boolean isMoreDetail, double removedAreaThreshold, double removedHoleAreaThreshold, double duplicatePointThreshold, double shrinkedThreshold, double blockThreshold)
isMoreDetail
- 是否保留更多细节removedAreaThreshold
- 移除面积阈值 参考范围:0 - 200removedHoleAreaThreshold
- 移除孔洞面积 参考范围:0 - 200duplicatePointThreshold
- 冗余点移除阈值 参考范围:0 - 20shrinkedThreshold
- 腐蚀膨胀收缩处理阈值 参考范围:0 - 20blockThreshold
- 块简化容差 参考范围:0 - 10public boolean isMoreDetail()
public void setMoreDetail(boolean moreDetail)
public double getRemovedAreaThreshold()
public void setRemovedAreaThreshold(double removedAreaThreshold)
removedAreaThreshold
- 移除面积阈值。public double getRemovedHoleAreaThreshold()
public void setRemovedHoleAreaThreshold(double removedHoleAreaThreshold)
removedHoleAreaThreshold
- 移除孔洞面积。public double getDuplicatePointThreshold()
public void setDuplicatePointThreshold(double duplicatePointThreshold)
duplicatePointThreshold
- 冗余点移除阈值。public double getShrinkedThreshold()
public void setShrinkedThreshold(double shrinkedThreshold)
shrinkedThreshold
- 腐蚀膨胀收缩处理阈值。public double getBlockThreshold()
public void setBlockThreshold(double blockThreshold)
blockThreshold
- 块简化容差。Copyright © 2021–2024 SuperMap. All rights reserved.