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
Input value inPoints const Array<Point2D>&
Input value inRegions const Array<Region>&
Output value outGroupedIndices Array<Array<int> >&
Output value 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

GroupPointsByRegions performed with three input regions.

See Also