|
FastLED 3.9.15
|
Definition at line 235 of file line_simplification.h.
#include <line_simplification.h>
Collaboration diagram for fl::LineSimplifierExact< NumberT >:Public Types | |
| using | Point = vec2<NumberT> |
Public Member Functions | |
| LineSimplifierExact ()=default | |
| LineSimplifierExact (int count) | |
| void | setCount (u32 count) |
| template<typename VectorType = fl::vector<Point>> | |
| void | simplify (const fl::span< 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::span< const Point > &polyLine, VectorType *out) |
Static Private Member Functions | |
| static NumberT | estimateMaxDistance (const fl::span< const Point > &polyLine) |
Private Attributes | |
| u32 | mCount = 10 |
| LineSimplifier< NumberT > | mLineSimplifier |