com.supermap.realspace
类 ModifyTerrainSetting
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.realspace.ModifyTerrainSetting
-
public class ModifyTerrainSetting extends com.supermap.data.InternalHandle地形修改设置类。- 作者:
- wangyanyan
-
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 intadd(ModifyTerrainObject modifyObject, String tag)添加地形修改。voidclear()清空地形修改设置 。ModifyTerrainObjectget(int index)根据索引获取地形修改对象。intgetCount()获取地形修改数量。doublegetSlopeWidth()获取缓冲的护坡距离。StringgetTag(int index)根据索引获取地形修改标签。intindexOf(String tag)获取标签的索引值。booleanremove(int index)移除指定索引的地形修改对象。voidsetSlopeWidth(double slopeWidth)设置缓冲的护坡距离。booleansetTag(int index, String tag)设置指定索引的默认标签。
-
-
-
方法详细资料
-
add
public int add(ModifyTerrainObject modifyObject, String tag)
添加地形修改。- 参数:
modifyObject- 指定地形修改对象。tag- 指定地形修改标志。- 返回:
-
clear
public void clear()
清空地形修改设置 。
-
get
public ModifyTerrainObject get(int index)
根据索引获取地形修改对象。- 参数:
index- 指定的索引值。- 返回:
-
getTag
public String getTag(int index)
根据索引获取地形修改标签。- 参数:
index- 指定的索引值。- 返回:
-
indexOf
public int indexOf(String tag)
获取标签的索引值。- 参数:
tag- 指定的标签。- 返回:
-
remove
public boolean remove(int index)
移除指定索引的地形修改对象。- 参数:
index- 指定的索引值。- 返回:
- true表示移除成功,false表示移除失败。
-
setTag
public boolean setTag(int index, String tag)设置指定索引的默认标签。- 参数:
index- 指定的索引值。tag- 指定的默认标签。- 返回:
- true表示设置成功,false表示设置失败。
-
getCount
public int getCount()
获取地形修改数量。- 返回:
-
getSlopeWidth
public double getSlopeWidth()
获取缓冲的护坡距离。单位:米。- 返回:
- 缓冲的护坡距离
-
setSlopeWidth
public void setSlopeWidth(double slopeWidth)
设置缓冲的护坡距离。单位:米。- 参数:
slopeWidth- 缓冲的护坡距离
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.