MCPcopy Create free account
hub / github.com/FastLED/FastLED / simplifyT

Method simplifyT

src/fl/math/line_simplification.h:121–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119
120 template <typename VectorType>
121 void simplifyT(const fl::span<const Point> &polyLine, VectorType *out) {
122 // run the simplification algorithm
123 simplifyInternal(polyLine);
124
125 // copy the result to the output slice
126 out->assign(mSimplified.begin(), mSimplified.end());
127 }
128 // Runs in O(n) allocations: one bool‐array + one index stack + one output
129 // vector
130 void simplifyInternal(const fl::span<const Point> &polyLine) {

Callers

nothing calls this directly

Calls 3

assignMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected