You are here: Start » AVL.NET » AVL.GroupPointsByRegions Method

AVL.GroupPointsByRegions Method

For each region returns which points lie inside of it.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void GroupPointsByRegions(
	AvlNet.Point2D[] inPoints,
	AvlNet.Region[] inRegions,
	out int[][] outGroupedIndices,
	out AvlNet.Point2D[][] outGroupedPoints
)

Parameters

Name Type Range Default Description
inPointsAvlNet.Point2D
inRegionsAvlNet.Region
outGroupedIndicesint
outGroupedPointsAvlNet.Point2D

Examples

GroupPointsByRegions performed with three input regions.

See also