ReduceArray3_v3 Op

ReduceArray3

Remove Points from an array, e.g. xth points, random, duplicates


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]


Full Name
  • Ops.Array.ReduceArray3_v3
Visibility
  • Core Op - Official cables op
License
  • MIT
Authorgithub


INPUT PORTS


Array (Array)

The source array

Remove index (Number: integer)
Every xth Item (Number: integer)

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)

OUTPUT PORTS


Result Array (Array)

The new array containing only a subset of elements


Patches using ReduceArray3_v3

  • Examples
  • Public
  • My Patches

Changelog


Ops.User.pandur.ReduceArray32 renamed to Ops.Array.ReduceArray3_v3user avatarpandur - 2021-10-19 18:30
featureadd methods to remove random points by threshold and duplicate pointsuser avatarpandur - 2022-12-14 17:17