| 50 | //@} |
| 51 | |
| 52 | struct SimplifyOptimalRes |
| 53 | { |
| 54 | SimplifyOptimalRes() = default; |
| 55 | SimplifyOptimalRes(int32_t nextPoint, uint32_t pointCount) : m_NextPoint(nextPoint), m_PointCount(pointCount) {} |
| 56 | |
| 57 | int32_t m_NextPoint = -1; |
| 58 | uint32_t m_PointCount = -1U; |
| 59 | }; |
| 60 | } // namespace simpl |
| 61 | |
| 62 | // Douglas-Peucker algorithm for STL-like range [beg, end). |
no outgoing calls
no test coverage detected