Average Point
The centre of an array of points.
Node id vector/average-point
The Average Point node outputs the point whose x is the average of the points' x, and whose y the average of their y: the centre of the points.
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| point | Point |
Behaviour
- An array.
pointstakes one array of points, for example from Sample or a lattice node. - Every point counts equally. Points bunched together pull the average towards them. It's not the centre of the box around the points.
Errors
- The array must not be empty (nothing connected counts as empty).