You are here: Start » AVL.NET » AVS.FindClosestPoints Method

AVS.FindClosestPoints Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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.

See also