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

AVL.GroupPathsByRegions Method

For each region returns which paths lie inside of it or intersect with it.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void GroupPathsByRegions(
	AvlNet.Path[] inPaths,
	AvlNet.Region[] inRegions,
	AvlNet.MatchingCriterion inMatchingCriterion,
	out int[][] outGroupedIndices,
	out AvlNet.Path[][] outGroupedPaths
)

Parameters

Name Type Range Default Description
inPathsAvlNet.PathArray of paths that will be classified into multiple groups.
inRegionsAvlNet.RegionArray of regions that define the groups.
inMatchingCriterionAvlNet.MatchingCriterionSpecifies whether a path must fully belong to a group region or if it is enough that it intersects.
outGroupedIndicesintIndices of input paths classified into multiple groups.
outGroupedPathsAvlNet.PathInput paths classified into multiple groups

See also