OpenBIMRL | Mathematical vector and point functions
Class path: math.tuples.closestPoint
Next point

Description
Finds the next point in a collection of points.
Input
| Input | Name | Type | Description |
|---|---|---|---|
| 0 | Point | Tuple3d | The point to which the next point is searched |
| 1 | Point cloud | Tuple3d | The point collection in which the next point is searched for |
Output
| Output | Name | Type | Description |
|---|---|---|---|
| 0 | Point | Tuple3d | The next point |
| 1 | Index | Number | The index of Output0 in Input1 |
| 2 | Distance | Number | The distance between Input0 and Output0 |
Use/Example
Sample file
Download of a sample file so that the user can test the usage himself