Back to FabImage Library website
You are here: Start » Function Reference » Shape Relations » TestPointArrayInShape
TestPointArrayInShape
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
Tests which points lie inside a shape.
Syntax
C++
C#
void fil::TestPointArrayInShape ( const ftl::Array<fil::Point2D>& inPoints, const fil::Path& inShape, ftl::Array<bool>& outIsContainedArray, ftl::Array<fil::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. |


