|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.data.Geometry com.supermap.data.GeoCurve
public class GeoCurve
二维曲线几何对象类。
该类主要用于 CAD 图层,是 Geometry
对象的子对象。
Curve 曲线是 DGN 数据中的对象,至少有6个点才可以构成一条 Curve 曲线,其中前两个和后两个点用于控制曲线的走向,中间的两个点才是曲线上的节点。
构造方法摘要 | |
---|---|
GeoCurve()
构造一个新的 GeoCurve 对象。 |
|
GeoCurve(GeoCurve geoCurve)
根据指定的 GeoCurve 对象构造一个与其完全相同的新对象。 |
|
GeoCurve(Point2Ds controlPoints)
根据指定的参数来构造一个 GeoCurve 的新对象。 |
方法摘要 | |
---|---|
GeoCurve |
clone()
返回当前 GeoCurve 对象的一个拷贝。 |
GeoLine |
convertToLine(int pointCountPerSegment)
将二维曲线几何对象转换为线几何对象。 |
void |
dispose()
释放该对象所占用的资源。 |
Point2Ds |
getControlPoints()
返回控制点集合。 |
double |
getLength()
返回二维曲线几何对象的长度。 |
void |
setControlPoints(Point2Ds point2Ds)
设置控制点集合。 |
从类 com.supermap.data.Geometry 继承的方法 |
---|
addCustomGeometryCreatedListener, fromXML, getBounds, getID, getInnerPoint, getStyle, getType, getVariantID, hitTest, isEmpty, mirror, offset, removeCustomGeometryCreatedListener, resize, rotate, setEmpty, setID, setStyle, toXML |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public GeoCurve()
public GeoCurve(GeoCurve geoCurve)
geoCurve
- 指定的 GeoCurve 对象。public GeoCurve(Point2Ds controlPoints)
controlPoints
- 控制点串。方法详细信息 |
---|
public double getLength()
public Point2Ds getControlPoints()
Point2Ds
对象。public void setControlPoints(Point2Ds point2Ds)
point2Ds
- 控制点集合。public GeoLine convertToLine(int pointCountPerSegment)
pointCountPerSegment
- 二维曲线的相邻控制点之间插值拟合的节点数。
public void dispose()
Geometry
中的 dispose
public GeoCurve clone()
java.lang.Object
中的 clone
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |