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

#include <PolyLine.h>

类 PolyLine 继承关系图:
Curve Geometry

Public 成员函数

virtual Geometrycopy (void) const
 
bool getCurve (int nIndex, std::shared_ptr< Base::Curve > &curve)
 获取多段线中指定索引的曲线段
 
Base::Vector3d getEndPoint ()
 
double getLength ()
 
std::vector< std::shared_ptr< Curve > > getPolyline () const
 
Base::Vector3d getStartPoint ()
 
bool isClosed ()
 
 PolyLine ()
 
 PolyLine (const std::vector< std::shared_ptr< Curve > > &polyline)
 通过曲线指针集合构造多段线
 
void Reverse ()
 
void setPolyline (const std::vector< std::shared_ptr< Curve > > &curveVec)
 设置构成多段线的曲线指针集合
 
int size () const
 
- Public 成员函数 继承自 Curve
 Curve ()
 
bool isClosed ()
 
void Reverse ()
 
- Public 成员函数 继承自 Geometry
Geometryclone (void) const
 
 Geometry ()
 
virtual double getLength () const
 
GeometryType getType () const
 
virtual ~Geometry ()
 

Private 属性

std::vector< std::shared_ptr< Curve > > mCurveVec
 

额外继承的成员函数

- Protected 属性 继承自 Geometry
GeometryType mType
 

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