| 41 | }; |
| 42 | |
| 43 | class PolygonSegment |
| 44 | { |
| 45 | public: |
| 46 | const PolygonPoint& first; |
| 47 | const PolygonPoint& second; |
| 48 | [[nodiscard]] double getAngle() const; |
| 49 | [[nodiscard]] double getLength() const; |
| 50 | PolygonSegment(const PolygonPoint& first, const PolygonPoint& second); |
| 51 | }; |
| 52 | |
| 53 | using PolygonPath = std::vector<std::unique_ptr<PolygonPoint>>; |
| 54 |