FindClosestPoints
For each given point, finds the closest point among the given point set.
Syntax
C++
Python
def FindClosestPoints( inPointSet: list[Point2D], inQueries: list[Point2D], / ) -> ( outPoints: list[Point2D], outIndices: list[int] )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPointSet | list[Point2D] | Points that will be searched. | |
![]() |
inQueries | list[Point2D] | ||
![]() |
outPoints | list[Point2D] | For each point in inQueries, the closest point value from inPointSet. | |
![]() |
outIndices | list[int] | For each point in inQueries, the closest point index of inPointSet. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


