Further cleaning.

This commit is contained in:
jmsgrogan 2023-01-13 15:03:07 +00:00
parent cb4212d972
commit 4fbe6279d1
12 changed files with 141 additions and 89 deletions

View file

@ -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;
};