Definition at line 235 of file line_simplification.h.
#include <line_simplification.h>
Public Types | |
using | Point = vec2<NumberT> |
Public Member Functions | |
LineSimplifierExact ()=default | |
LineSimplifierExact (int count) | |
void | setCount (uint32_t count) |
template<typename VectorType = fl::vector<Point>> | |
void | simplify (const fl::Slice< const Point > &polyLine, VectorType *out) |
template<typename VectorType = fl::vector<Point>> | |
void | simplifyInplace (VectorType *polyLine) |
Private Member Functions | |
template<typename VectorType> | |
void | safeCopy (const fl::Slice< const Point > &polyLine, VectorType *out) |
Static Private Member Functions | |
static NumberT | estimateMaxDistance (const fl::Slice< const Point > &polyLine) |
Private Attributes | |
uint32_t | mCount = 10 |
LineSimplifier< NumberT > | mLineSimplifier |