Skip to content

OpenBIMRL | Mathematical vector and point functions

Class path: math.tuples.closestPoint

Next point

closestPoint1.png

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

closestPoint2.png

Node representation with sample values

Sample file

Download of a sample file so that the user can test the usage himself