beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

ReduceArray3_v3 Op



ReduceArray3
Namespace: Ops.Array

Op author: pandur

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]



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


Caught a mistake or want to contribute to the documentation?

Edit Documentation 

mercatorCoordsArray example


Patches using ReduceArray3_v3

  • Examples
  • Public
  • My Patches

Changelog


Ops.User.pandur.ReduceArray32 renamed to Ops.Array.ReduceArray3_v3
2021-10-19 - pandur
featureadd methods to remove random points by threshold and duplicate points
2022-12-14 - pandur