BIMHome v1.0.0
BIMHome接口文档说明
Public 成员函数 | Private 属性 | 所有成员列表
PolyLine2D类 参考

#include <PolyLine2D.h>

类 PolyLine2D 继承关系图:
Curve2D Geometry2D

Public 成员函数

virtual Geometry2Dcopy (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
Geometry2Dclone (void) const
 
 Geometry2D ()
 
Geometry2DType getType () const
 
virtual ~Geometry2D ()
 

Private 属性

std::vector< std::shared_ptr< Curve2D > > mCurveVec
 

额外继承的成员函数

- Protected 属性 继承自 Geometry2D
Geometry2DType mType
 

该类的文档由以下文件生成: