![]() |
Geometrize
1.0
C++ library for geometrizing images into geometric primitives
|
The Polyline class represents a polyline. More...
#include <polyline.h>
Public Member Functions | |
Polyline ()=default | |
Polyline (const std::vector< std::pair< float, float >> &points) | |
virtual std::shared_ptr < geometrize::Shape > | clone () const override |
clone Clones the shape, a virtual copy constructor. More... | |
virtual geometrize::ShapeTypes | getType () const override |
getType Gets the ShapeType of the shape. More... | |
![]() | |
Shape ()=default | |
virtual | ~Shape ()=default |
Shape & | operator= (const geometrize::Shape &other)=default |
Shape (const geometrize::Shape &other)=default | |
Public Attributes | |
std::vector< std::pair< float, float > > | m_points |
The points on the polyline. More... | |
![]() | |
std::function< void(geometrize::Shape &)> | setup |
std::function< void(geometrize::Shape &)> | mutate |
std::function< std::vector < geometrize::Scanline >const geometrize::Shape &)> | rasterize |
The Polyline class represents a polyline.
|
default |
geometrize::Polyline::Polyline | ( | const std::vector< std::pair< float, float >> & | points | ) |
|
overridevirtual |
clone Clones the shape, a virtual copy constructor.
Reimplemented from geometrize::Shape.
|
overridevirtual |
getType Gets the ShapeType of the shape.
Reimplemented from geometrize::Shape.
std::vector<std::pair<float, float> > geometrize::Polyline::m_points |
The points on the polyline.