Nodes ▸ Functions ▸ Structural
Nearest Index
Returns the index of the dataset point closest to a position, which can be picked in the viewport, as an integer array.
Inputs
| Port | Accepts | Required | Description |
|---|---|---|---|
x | dataset | required | The dataset whose points are searched |
Parameter ports
Added from the Parameters pane (⊕). While connected, each drives its parameter.
| Port | Accepts | Mode | Description |
|---|---|---|---|
positionPosition | primitive(array) dataset(stack) dataset(surface) | opt-in | position position; overrides the position parameter while connected |
Outputs
primitive(array)
Parameters
| Parameter | Kind | Default | Choices / range | Unit | Notes |
|---|---|---|---|---|---|
Positionposition | vector | none |