|
FastLED 3.9.15
|
Definition at line 26 of file line_simplification.h.
#include <line_simplification.h>
Inheritance diagram for fl::LineSimplifier< NumberT >:
Collaboration diagram for fl::LineSimplifier< NumberT >:Public Types | |
| using | Point = fl::vec2<NumberT> |
| using | VectorPoint = fl::vector<Point> |
Public Member Functions | |
| LineSimplifier () | |
| LineSimplifier (const LineSimplifier &other)=default | |
| LineSimplifier (LineSimplifier &&other)=default | |
| LineSimplifier (NumberT e) | |
| LineSimplifier & | operator= (const LineSimplifier &other)=default |
| LineSimplifier & | operator= (LineSimplifier &&other)=default |
| void | setMinimumDistance (NumberT eps) |
| void | simplify (const fl::span< const Point > &polyLine, fl::vector< Point > *out) |
| template<typename VectorType> | |
| void | simplify (const fl::span< Point > &polyLine, VectorType *out) |
| void | simplifyInplace (fl::vector< Point > *polyline) |
| template<typename VectorType> | |
| void | simplifyInplace (VectorType *polyLine) |
Static Public Member Functions | |
| template<typename VectorType> | |
| static void | removeOneLeastError (VectorType *_poly) |
Private Member Functions | |
| template<typename VectorType> | |
| void | simplifyInplaceT (VectorType *polyLine) |
| void | simplifyInternal (const fl::span< const Point > &polyLine) |
| template<typename VectorType> | |
| void | simplifyT (const fl::span< const Point > &polyLine, VectorType *out) |
Static Private Member Functions | |
| static NumberT | PerpendicularDistance2 (const Point &pt, const Point &a, const Point &b) |
Private Attributes | |
| fl::vector_inlined< fl::pair< int, int >, 64 > | indexStack |
| fl::bitset< 256 > | keep |
| NumberT | mMinDistance |
| VectorPoint | mSimplified |