com.supermap.realspace
类 RotationItems
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.realspace.RotationItems
-
public class RotationItems extends com.supermap.data.InternalHandle
本类定义了绕此点飞行节点(RotationItem)的集合类,本类包含了对绕此点飞行节点的添加、删除、替换等基本操作。
-
-
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 void
add(RotationItem rotationItem)
添加指定的节点。void
clear()
清空所有的节点。RotationItem
get(int index)
返回指定索引的节点。int
getCount()
返回绕此点飞行节点的数目。void
remove(int index)
删除指定的节点。void
set(int index, RotationItem item)
设置指定索引的节点
-
-
-
方法详细资料
-
getCount
public int getCount()
返回绕此点飞行节点的数目。- 返回:
- 节点数目
-
add
public void add(RotationItem rotationItem)
添加指定的节点。- 参数:
rotationItem
- 添加的绕此点飞行的节点。
-
remove
public void remove(int index)
删除指定的节点。- 参数:
index
- 要删除的绕此点飞行的节点索引。
-
clear
public void clear()
清空所有的节点。
-
get
public RotationItem get(int index)
返回指定索引的节点。- 参数:
index
- 节点索引。- 返回:
- 指定索引的节点。
-
set
public void set(int index, RotationItem item)
设置指定索引的节点- 参数:
index
- 节点索引item
- 指定的节点
-
-
Copyright © 2021–2024 SuperMap. All rights reserved.