Remove Points from an array, e.g. xth points, random, duplicates
summary (oneliner)
Xth Mode: Copies only every x point from an array
Creates a new array which contains every xth value triplet of the source array, e.g. when your source array is [x1, y1, z1, x2, y2, z2, x3, y3, z3] and Every Xth Item is set to 2, the resulting array will be [x1, y1, z1, x3, y3, z3]
doc
issues
example patch id
youtube ids (comma seperated)
caniuse query
collections
Inputs
Array (Array)
The source array
Remove index (integer /Number)
Every xth Item (integer /Number)
When set to 1 source and result array will be identical, when set to 2 result array contains half the number of items of the source array and so on
Threshold (Number)
Seed (Number)
Outputs
Result Array (Array)
The new array containing only a subset of elements
Patches using ReduceArray3_v3
Changelog
Ops.User.pandur.ReduceArray32 renamed to Ops.Array.ReduceArray3_v3 2021-10-19 - pandur | |
feature | add methods to remove random points by threshold and duplicate points 2022-12-14 - pandur |