com.supermap.chart
类 S57SoundingGroup
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.chart.S57SoundingGroup
-
- 所有已实现的接口:
- IDisposable
public class S57SoundingGroup extends com.supermap.data.InternalHandleDisposable
-
-
构造器概要
构造器 构造器和说明 S57SoundingGroup()S57SoundingGroup(ChartDatasetGroup chartDatasetGroup)S57SoundingGroup(S57EditDatasetGroup s57EditDatasetGroup)已过时。
-
方法概要
所有方法 静态方法 实例方法 具体方法 限定符和类型 方法和说明 booleanaddSoundingsToGroup(String soundingFOID, int[] ids)将指定的水深点添加到一个已有的水深组中。voiddispose()释放对象所占用的本地资源。ChartDatasetGroupgetDatasetGroup()获取海图分组。StringgetGroupSounding(int[] ids)将指定的水深点划为一个水深组。String[]getGroupSoundingAll(int[] ids)将指定的水深点进行分组,属性相同的水深点自动划分为一组。static longgetHandle(com.supermap.data.InternalHandle obj)doublegetSoundingDepth(int id)获取水深点的深度。ObjectgetSoundingGroupAttribute(String soundingFOID, String attributeAcronym)获取水深组指定属性的值。ChartAttributeInfo[]getSoundingGroupAttributes(String soundingFOID)获取给定特征物标标识(即长名)的水深组的物标属性。String[]getSoundingGroupFeatureIDs()获取当前海图中所有水深组的特征物标标识,即长名。GeoPoint3D[]getSoundingPoints(String soundingFOID)获取给定特征物标标识(即长名)的水深点对象。booleanremoveSoundingsFromGroup(String soundingFOID, int[] ids)从一个已有的水深组中删除指定的水深点。static voidsetHandle(com.supermap.data.InternalHandle obj, long handle)static voidsetIsDisposable(com.supermap.data.InternalHandleDisposable obj, boolean disposable)voidsetS57EditDatasetGroup(S57EditDatasetGroup s57EditDatasetGroup)设置可编辑 S-57 海图数据集分组对象。booleansetSoundingDepth(int id, double depth)设置水深点的深度。BooleansetSoundingGroupAttribute(String soundingFOID, String attributeAcronym, Object value)设置水深组指定属性的属性值。
-
-
-
构造器详细资料
-
S57SoundingGroup
public S57SoundingGroup(ChartDatasetGroup chartDatasetGroup)
-
S57SoundingGroup
public S57SoundingGroup()
-
S57SoundingGroup
@Deprecated public S57SoundingGroup(S57EditDatasetGroup s57EditDatasetGroup)
已过时。
-
-
方法详细资料
-
addSoundingsToGroup
public boolean addSoundingsToGroup(String soundingFOID, int[] ids)
将指定的水深点添加到一个已有的水深组中。- 参数:
soundingFOID- 指定的已有的水深组的特征物标标识,即长名。ids- 指定的要添加到水深组的水深点 ID 数组。- 返回:
- 一个布尔值,指示添加水深点到已有水深组是否成功。如果成功,返回 true,否则返回 false。
-
getSoundingDepth
public double getSoundingDepth(int id)
获取水深点的深度。- 参数:
id- 指定的水深点的 ID。- 返回:
- 给定的水深点的深度。
-
getSoundingGroupAttribute
public Object getSoundingGroupAttribute(String soundingFOID, String attributeAcronym)
获取水深组指定属性的值。- 参数:
soundingFOID- 指定的水深组的特征物标标识,即长名。attributeAcronym- 指定的属性简称。- 返回:
- 指定属性简称的属性值。
-
getSoundingGroupAttributes
public ChartAttributeInfo[] getSoundingGroupAttributes(String soundingFOID)
获取给定特征物标标识(即长名)的水深组的物标属性。- 参数:
soundingFOID- 指定的水深组的特征物标标识,即长名。- 返回:
- 水深组的物标属性集合。
-
getSoundingGroupFeatureIDs
public String[] getSoundingGroupFeatureIDs()
获取当前海图中所有水深组的特征物标标识,即长名。- 返回:
- 水深组的特征物标标识数组。
-
getSoundingPoints
public GeoPoint3D[] getSoundingPoints(String soundingFOID)
获取给定特征物标标识(即长名)的水深点对象。- 参数:
soundingFOID- 指定的水深点的特征物标标识,即长名。- 返回:
- 具有给定特征物标标识的水深点对象数组。水深点使用 GeoPoint3D 对象表示,Z 值为水深值,单位为米。
-
getGroupSounding
public String getGroupSounding(int[] ids)
将指定的水深点划为一个水深组。- 参数:
ids- 指定的水深点 ID 数组。- 返回:
- 分组后的物标长名。如果分组失败,返回 null。
-
getGroupSoundingAll
public String[] getGroupSoundingAll(int[] ids)
将指定的水深点进行分组,属性相同的水深点自动划分为一组。- 参数:
ids- 指定的要进行分组的水深点 ID 数组。如果指定为空的数组,则默认对水深数据集中所有水深点进行分组。- 返回:
- 每组水深点的物标长名。如果分组失败,返回 null。
-
removeSoundingsFromGroup
public boolean removeSoundingsFromGroup(String soundingFOID, int[] ids)
从一个已有的水深组中删除指定的水深点。- 参数:
soundingFOID- 指定的水深组的特征物标标识,即长名。ids- 指定的要删除的水深点。- 返回:
- 一个布尔值,指示从水深组中删除水深点是否成功。如果成功,返回 true,否则返回 false。
-
setS57EditDatasetGroup
public void setS57EditDatasetGroup(S57EditDatasetGroup s57EditDatasetGroup)
设置可编辑 S-57 海图数据集分组对象。- 参数:
s57EditDatasetGroup- 指定的可编辑 S-57 海图数据集分组。
-
setSoundingDepth
public boolean setSoundingDepth(int id, double depth)设置水深点的深度。- 参数:
id- 指定的水深点的 ID。depth- 指定的深度。- 返回:
- 一个布尔值,用于指示设置深度是否成功。如果成功,返回 true,否则返回 false。
-
setSoundingGroupAttribute
public Boolean setSoundingGroupAttribute(String soundingFOID, String attributeAcronym, Object value)
设置水深组指定属性的属性值。- 参数:
soundingFOID- 指定的水深组的特征物标标识,即长名。attributeAcronym- 指定的属性简称。value- 指定的属性值。- 返回:
- 一个布尔值,用于指示设置属性值是否成功。如果设置成功,返回 true,否则返回 false。
-
dispose
public void dispose()
释放对象所占用的本地资源。
-
getDatasetGroup
public ChartDatasetGroup getDatasetGroup()
获取海图分组。- 返回:
-
setIsDisposable
public static void setIsDisposable(com.supermap.data.InternalHandleDisposable obj, boolean disposable)
-
getHandle
public static long getHandle(com.supermap.data.InternalHandle obj)
-
setHandle
public static void setHandle(com.supermap.data.InternalHandle obj, long handle)
-
-
Copyright © 2021–2025 SuperMap. All rights reserved.