| 484 | |
| 485 | template <typename DataType> |
| 486 | auto Polygon<DataType>::boundBox() const -> Rect { |
| 487 | auto bounds = Rect::null(); |
| 488 | for (auto const& v : m_vertexes) |
| 489 | bounds.combine(v); |
| 490 | return bounds; |
| 491 | } |
| 492 | |
| 493 | template <typename DataType> |
| 494 | int Polygon<DataType>::windingNumber(Vertex const& p) const { |
no test coverage detected