Further cleaning.
This commit is contained in:
parent
cb4212d972
commit
4fbe6279d1
12 changed files with 141 additions and 89 deletions
|
@ -1,15 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include "PathElement.h"
|
||||
#include "PointCollection.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
class Line : public PathElement
|
||||
{
|
||||
public:
|
||||
Line(const Point& start, const std::vector<Point>& points);
|
||||
Line(const Point& start, const PointCollection& points);
|
||||
|
||||
const std::vector<Point>& getPoints() const;
|
||||
const PointCollection& getPoints() const;
|
||||
|
||||
Line::Type getType() const override;
|
||||
|
||||
|
@ -21,5 +22,5 @@ public:
|
|||
|
||||
private:
|
||||
Point mStartPoint;
|
||||
std::vector<Point> mPoints;
|
||||
PointCollection mPoints;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue