Back to Adaptive Vision Library website
You are here: Start » Function Reference » Shape Relations » TestPointArrayInShape
TestPointArrayInShape
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
Tests which points lie inside a shape.
Syntax
C++
C#
void avl::TestPointArrayInShape ( const atl::Array<avl::Point2D>& inPoints, const avl::Path& inShape, atl::Array<bool>& outIsContainedArray, atl::Array<avl::Point2D>& outPoints )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | Points the positions of which will be tested | |
![]() |
inShape | const Path& | Shape against which the points will be tested | |
![]() |
outIsContainedArray | Array<bool>& | ||
![]() |
outPoints | Array<Point2D>& |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Empty shape on input in TestPointArrayInShape. |
| DomainError | Open path on input in TestPointArrayInShape. |


