Back to Aurora Vision Library website
You are here: Start » Function Reference » Region » Region Relations » TestPointArrayInRegion
TestPointArrayInRegion
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Tests which points lie inside a region.
Syntax
C++
C#
void avl::TestPointArrayInRegion ( const atl::Array<avl::Point2D>& inPoints, const avl::Region& inRegion, atl::Array<bool>& outIsContainedArray, atl::Optional<atl::Array<avl::Point2D>&> outPoints = atl::NIL, atl::Optional<bool&> outAreAllContained = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inPoints | const Array<Point2D>& | Points which will be tested | ||
inRegion | const Region& | Input region | ||
outIsContainedArray | Array<bool>& | |||
outPoints | Optional<Array<Point2D>&> | NIL | Points that are contained | |
outAreAllContained | Optional<bool&> | NIL |
Optional Outputs
The computation of following outputs can be switched off by passing value atl::NIL
to these parameters: outPoints, outAreAllContained.
Read more about Optional Outputs.