Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Relations » GroupPathsByRegions
GroupPathsByRegions
For each region returns which paths lie inside of it or intersect with it.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::GroupPathsByRegions ( const atl::Array<avl::Path>& inPaths, const atl::Array<avl::Region>& inRegions, avl::MatchingCriterion::Type inMatchingCriterion, atl::Array<atl::Array<int> >& outGroupedIndices, atl::Optional<atl::Array<atl::Array<avl::Path> >&> outGroupedPaths = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPaths | const Array<Path>& | Array of paths that will be classified into multiple groups | ||
inRegions | const Array<Region>& | Array of regions that define the groups | ||
inMatchingCriterion | MatchingCriterion::Type | Specifies whether a path must fully belong to a group region or if it is enough that it intersects | ||
outGroupedIndices | Array<Array<int> >& | Indices of input paths classified into multiple groups | ||
outGroupedPaths | Optional<Array<Array<Path> >&> | NIL | Input paths classified into multiple groups |
See Also
- GroupPointsByRegions – For each region returns which points lie inside of it.