com.supermap.realspace.threeddesigner
类 OperationParameter
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.realspace.threeddesigner.OperationParameter
-
- 所有已实现的接口:
- IDisposable
public class OperationParameter extends com.supermap.data.InternalHandleDisposable倾斜处理参数类
-
-
构造器概要
构造器 构造器和说明 OperationParameter(ProcessType _processType)构造一个新的倾斜处理对象。
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 voiddispose()释放该对象所占用的资源。doublegetBottomHeight()返回底部高度,单位:米。StringgetCacheName()返回目标瓦片名称ClippingTypegetClippingType()返回裁剪类型ConstraintTypegetConstraintType()返回约束条件MosaicQualitygetMosaicQuality()返回镶嵌质量,仅针对TIN,处理倾斜时该值无效,默认为Fast,Fast时不支持限制高度StringgetOutputFolder()返回结果数据存储路径。ProcessTypegetProcessType()返回倾斜处理类型ColorgetReplaceColor()返回替换的颜色doublegetSlopeWidth()返回缓坡宽度,单位:米。doublegetTopHeight()返回顶部高度,单位:米。booleanisCreateHistory()返回是否创建历史记录,默认为true。booleanisLimitHeight()返回是否限制高度范围。voidsetBottomHeight(double bottomHeight)设置底部高度。voidsetCacheName(String cacheName)设置目标瓦片名称voidsetClippingType(ClippingType clippingType)设置裁剪类型voidsetConstraintType(ConstraintType constraintType)设置约束条件,约束条件分为软约束、硬约束。voidsetCreateHistory(boolean isCreateHistory)设置是否创建历史记录。voidsetLimitHeight(boolean limitHeight)设置是否限制高度范围。voidsetMosaicQuality(MosaicQuality mosaicQuality)设置镶嵌质量,仅针对TIN,处理倾斜时该值无效,默认为Fast,Fast时不支持限制高度voidsetOutputFolder(String outputFolder)设置结果数据存储路径。voidsetReplaceColor(Color replaceColor)设置替换颜色voidsetSlopeWidth(double slopeWidth)设置缓坡宽度。voidsetTopHeight(double topHeight)设置顶部高度。
-
-
-
构造器详细资料
-
OperationParameter
public OperationParameter(ProcessType _processType)
构造一个新的倾斜处理对象。
-
-
方法详细资料
-
dispose
public void dispose()
释放该对象所占用的资源。当调用该方法之后,此对象不再可用。
-
getProcessType
public ProcessType getProcessType()
返回倾斜处理类型- 返回:
- 倾斜处理类型,类型有裁剪、镶嵌、挖洞
-
getBottomHeight
public double getBottomHeight()
返回底部高度,单位:米。
-
setBottomHeight
public void setBottomHeight(double bottomHeight)
设置底部高度。- 参数:
bottomHeight- 底部高度
-
getTopHeight
public double getTopHeight()
返回顶部高度,单位:米。
-
setTopHeight
public void setTopHeight(double topHeight)
设置顶部高度。- 参数:
topHeight- 顶部高度
-
isLimitHeight
public boolean isLimitHeight()
返回是否限制高度范围。
-
setLimitHeight
public void setLimitHeight(boolean limitHeight)
设置是否限制高度范围。- 参数:
limitHeight- true,限制高度范围;false,没有限制高度范围。
-
getReplaceColor
public Color getReplaceColor()
返回替换的颜色
-
setReplaceColor
public void setReplaceColor(Color replaceColor)
设置替换颜色
-
getSlopeWidth
public double getSlopeWidth()
返回缓坡宽度,单位:米。
-
setSlopeWidth
public void setSlopeWidth(double slopeWidth)
设置缓坡宽度。
-
getConstraintType
public ConstraintType getConstraintType()
返回约束条件
-
setConstraintType
public void setConstraintType(ConstraintType constraintType)
设置约束条件,约束条件分为软约束、硬约束。 软约束是指结果边界高程值与原来一致,保持不变。硬约束是指结果边界高程和裁剪面边界高程值一致。- 参数:
constraintType- 约束条件:软约束、硬约束。
-
getClippingType
public ClippingType getClippingType()
返回裁剪类型
-
setClippingType
public void setClippingType(ClippingType clippingType)
设置裁剪类型- 参数:
clippingType- 裁剪类型:保留区域内,保留区域外。
-
isCreateHistory
public boolean isCreateHistory()
返回是否创建历史记录,默认为true。
-
setCreateHistory
public void setCreateHistory(boolean isCreateHistory)
设置是否创建历史记录。- 参数:
isCreateHistory- 设置为true时,创建历史记录,结果数据无法另存;设置为false时,结果数据可以另存文件夹。
-
getOutputFolder
public String getOutputFolder()
返回结果数据存储路径。
-
setOutputFolder
public void setOutputFolder(String outputFolder)
设置结果数据存储路径。另存路径时,同时需要设置OperationParameter.setCreateHistory(boolean)为false才有效果
-
getCacheName
public String getCacheName()
返回目标瓦片名称
-
setCacheName
public void setCacheName(String cacheName)
设置目标瓦片名称
-
getMosaicQuality
public MosaicQuality getMosaicQuality()
返回镶嵌质量,仅针对TIN,处理倾斜时该值无效,默认为Fast,Fast时不支持限制高度
-
setMosaicQuality
public void setMosaicQuality(MosaicQuality mosaicQuality)
设置镶嵌质量,仅针对TIN,处理倾斜时该值无效,默认为Fast,Fast时不支持限制高度- 参数:
mosaicQuality- 镶嵌质量
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.