Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Relations » GroupPointsByRegions

GroupPointsByRegions
For each region returns which points lie inside of it.
Syntax
C++
C#
void avl::GroupPointsByRegions ( const atl::Array<avl::Point2D>& inPoints, const atl::Array<avl::Region>& inRegions, atl::Array<atl::Array<int> >& outGroupedIndices, atl::Optional<atl::Array<atl::Array<avl::Point2D> >&> outGroupedPoints )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | ||
![]() |
inRegions | const Array<Region>& | ||
![]() |
outGroupedIndices | Array<Array<int> >& | ||
![]() |
outGroupedPoints | Optional<Array<Array<Point2D> >&> |
Examples
![]() |
![]() |
GroupPointsByRegions performed with three input regions.