You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Relations » AVL.FindClosestPoints

AVL.FindClosestPoints

For each given point, finds the closest point among the given point set.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void FindClosestPoints
(
	IList<AvlNet.Point2D> inPointSet,
	IList<AvlNet.Point2D> inQueries,
	IList<AvlNet.Point2D> outPoints,
	IList<int> outIndices
)

Parameters

Name Type Range Default Description
inPointSetSystem.Collections.Generic.IList<AvlNet.Point2D>Points that will be searched.
inQueriesSystem.Collections.Generic.IList<AvlNet.Point2D>
outPointsSystem.Collections.Generic.IList<AvlNet.Point2D>For each point in inQueries, the closest point value from inPointSet.
outIndicesSystem.Collections.Generic.IList<int>For each point in inQueries, the closest point index of inPointSet.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Hardware acceleration settings may be manipulated with Settings class.

See also