21 Polyline(
const std::vector<std::pair<float, float>>& points);
23 virtual std::shared_ptr<geometrize::Shape>
clone()
const override;
The Polyline class represents a polyline.
Definition: polyline.h:18
virtual geometrize::ShapeTypes getType() const override
getType Gets the ShapeType of the shape.
Definition: polyline.cpp:28
std::vector< std::pair< float, float > > m_points
The points on the polyline.
Definition: polyline.h:26
virtual std::shared_ptr< geometrize::Shape > clone() const override
clone Clones the shape, a virtual copy constructor.
Definition: polyline.cpp:18
ShapeTypes
The ShapeTypes enum specifies the types of shapes that can be used. These can be combined to produce ...
Definition: shapetypes.h:17