|
BIMHome v1.0.0
BIMHome接口文档说明
|
#include <PolyLine2D.h>
Public 成员函数 | |
| virtual Geometry2D * | copy (void) const |
| bool | getCurve (int nIndex, std::shared_ptr< Base::Curve2D > &curve) |
| 获取二维多段线中指定索引的曲线段 | |
| double | getLength () |
| std::vector< std::shared_ptr< Curve2D > > | getPolyline () const |
| bool | isClosed () |
| PolyLine2D () | |
| PolyLine2D (const std::vector< std::shared_ptr< Curve2D > > &polyline) | |
| 通过曲线指针集合构造二维多段线 | |
| void | setPolyline (const std::vector< std::shared_ptr< Curve2D > > &curveVec) |
| 设置构成二维多段线的曲线指针集合 | |
| int | size () |
Public 成员函数 继承自 Curve2D | |
| Curve2D () | |
| virtual Base::Vector2d | getCenterPoint () |
| 获取中心点 | |
| virtual double | getLength () const |
| 获取长度 | |
Public 成员函数 继承自 Geometry2D | |
| Geometry2D * | clone (void) const |
| Geometry2D () | |
| Geometry2DType | getType () const |
| virtual | ~Geometry2D () |
Private 属性 | |
| std::vector< std::shared_ptr< Curve2D > > | mCurveVec |
额外继承的成员函数 | |
Protected 属性 继承自 Geometry2D | |
| Geometry2DType | mType |