Back to Aurora Vision Library website
You are here: Start » Function Reference » Region » Region Relations » GroupPointsByRegions
GroupPointsByRegions
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
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 = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPoints | const Array<Point2D>& | |||
inRegions | const Array<Region>& | |||
outGroupedIndices | Array<Array<int> >& | |||
outGroupedPoints | Optional<Array<Array<Point2D> >&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outGroupedPoints.
Read more about Optional Outputs.
Examples
See Also
- AvsFilter_GetMultipleArrayElements – Extracts multiple elements from an array.