18#ifndef BIMHOMEBASE_GEOMETRYPOLYLINE_H
19#define BIMHOMEBASE_GEOMETRYPOLYLINE_H
21#include "Base/Math/Geometry/Curve.h"
37 PolyLine(
const std::vector<std::shared_ptr<Curve>>& polyline);
46 void setPolyline(
const std::vector<std::shared_ptr<Curve>>& curveVec);
56 bool getCurve(
int nIndex, std::shared_ptr<Base::Curve>& curve);
#define GEOMETRY_HEADER(_name_)
Definition Geometry.h:27
Base::Vector3d getStartPoint()
PolyLine(const std::vector< std::shared_ptr< Curve > > &polyline)
通过曲线指针集合构造多段线
Base::Vector3d getEndPoint()
bool getCurve(int nIndex, std::shared_ptr< Base::Curve > &curve)
获取多段线中指定索引的曲线段
virtual Geometry * copy(void) const
std::vector< std::shared_ptr< Curve > > mCurveVec
Definition PolyLine.h:68
std::vector< std::shared_ptr< Curve > > getPolyline() const
void setPolyline(const std::vector< std::shared_ptr< Curve > > &curveVec)
设置构成多段线的曲线指针集合
Definition BaseFigureFactory.h:24