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

AVS.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
(
	IList<AvlNet.Path> inPaths,
	IList<AvlNet.Region> inRegions,
	AvlNet.MatchingCriterion inMatchingCriterion,
	IList<List<int>> outGroupedIndices,
	NullableRef<SafeList<SafeList<AvlNet.Path>>> outGroupedPaths
)

Parameters

Name Type Range Default Description
inPathsSystem.Collections.Generic.IList<AvlNet.Path>Array of paths that will be classified into multiple groups.
inRegionsSystem.Collections.Generic.IList<AvlNet.Region>Array 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.
outGroupedIndicesSystem.Collections.Generic.IList<System.Collections.Generic.List<int>>Indices of input paths classified into multiple groups.
outGroupedPathsAvlNet.NullableRef<AvlNet.SafeList<AvlNet.SafeList<AvlNet.Path>>>Input paths classified into multiple groups. Can be null to skip this parameter calculation.

Function Overrides

See also