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

Invoke.GroupPathsByRegions

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void GroupPathsByRegions
(
	List<Avl.Path> inPaths,
	List<Avl.Region> inRegions,
	Avl.MatchingCriterion inMatchingCriterion,
	List<List<int>> outGroupedIndices,
	Optional<List<List<Avl.Path>>> outGroupedPaths
)

Parameters

Name Type Range Default Description
inPathsSystem.Collections.Generic.List<Avl.Path>Array of paths that will be classified into multiple groups.
inRegionsSystem.Collections.Generic.List<Avl.Region>Array of regions that define the groups.
inMatchingCriterionAvl.MatchingCriterionSpecifies whether a path must fully belong to a group region or if it is enough that it intersects.
outGroupedIndicesSystem.Collections.Generic.List<System.Collections.Generic.List<int>>Indices of input paths classified into multiple groups.
outGroupedPathsAtl.Optional<System.Collections.Generic.List<System.Collections.Generic.List<Avl.Path>>>Input paths classified into multiple groups.

See also