18#ifndef BIMHOMEBASE_POLYLINE2D_H
19#define BIMHOMEBASE_POLYLINE2D_H
21#include "Base/Math/Geometry/Curve2D.h"
36 PolyLine2D(
const std::vector<std::shared_ptr<Curve2D>>& polyline);
45 void setPolyline(
const std::vector<std::shared_ptr<Curve2D>>& curveVec);
55 bool getCurve(
int nIndex, std::shared_ptr<Base::Curve2D>& curve);
Definition Geometry2D.h:72
PolyLine2D(const std::vector< std::shared_ptr< Curve2D > > &polyline)
通过曲线指针集合构造二维多段线
std::vector< std::shared_ptr< Curve2D > > getPolyline() const
std::vector< std::shared_ptr< Curve2D > > mCurveVec
Definition PolyLine2D.h:62
bool getCurve(int nIndex, std::shared_ptr< Base::Curve2D > &curve)
获取二维多段线中指定索引的曲线段
virtual Geometry2D * copy(void) const
void setPolyline(const std::vector< std::shared_ptr< Curve2D > > &curveVec)
设置构成二维多段线的曲线指针集合
Definition PolyLine2D.h:27
Definition BaseFigureFactory.h:24