|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.data.Geometry com.supermap.data.GeometryEPS
public abstract class GeometryEPS
所有EPS几何对象的基类。
构造方法摘要 | |
---|---|
GeometryEPS()
|
方法摘要 | |
---|---|
int |
add(PointEPS point)
向线对象追加一个点。 |
void |
dispose()
回收此对象 |
PointEPS |
get(int index)
用于获取线对象中的指定的点 |
int |
getCount()
返回线对象的总个数。 |
boolean |
insert(int index,
PointEPS point)
用于往线对象中的指定位置插入一个点对象,成功则返回 True,否则返回 False。 |
boolean |
remove(int index)
删除线对象中的指定index的点 当index >= PartCount 或 index < 0时抛出IndexOutOfBoundsException |
boolean |
set(int index,
PointEPS point)
在指定的位置上修改线上的点,成功则返回 True。 |
void |
setEmpty()
清空几何对象 |
从类 com.supermap.data.Geometry 继承的方法 |
---|
addCustomGeometryCreatedListener, fromXML, getBounds, getID, getInnerPoint, getStyle, getType, getVariantID, hitTest, isEmpty, mirror, offset, removeCustomGeometryCreatedListener, resize, rotate, setID, setStyle, toXML |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public GeometryEPS()
方法详细信息 |
---|
public void dispose()
Geometry
中的 dispose
public int add(PointEPS point)
point
- PointEPS 点
public boolean remove(int index)
index
- int 指定的点索引号
public PointEPS get(int index)
index
- int 点的索引
public boolean insert(int index, PointEPS point)
index
- int 插入的位置point
- PointEPS 插入对象的点
public boolean set(int index, PointEPS point)
index
- intpoint
- PointEPS
public int getCount()
public void setEmpty()
Geometry
中的 setEmpty
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |