Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Relations » FindClosestPoints
FindClosestPoints
Header: | AVL.h |
---|---|
Namespace: | avl |
For each given point, finds the closest point among the given point set.
Syntax
void avl::FindClosestPoints ( const atl::Array<avl::Point2D>& inPointSet, const atl::Array<avl::Point2D>& inQueries, atl::Array<avl::Point2D>& outPoints, atl::Array<int>& outIndices )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPointSet | const Array<Point2D>& | Points that will be searched. | ||
inQueries | const Array<Point2D>& | |||
outPoints | Array<Point2D>& | For each point in inQueries, the closest point value from inPointSet. | ||
outIndices | Array<int>& | For each point in inQueries, the closest point index of inPointSet. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.