You are here: Start » AVL.NET » Function Reference » Path » Polygon Relations » AVL.TestPointArrayInPolygon
Tests which points lie inside a polygon.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TestPointArrayInPolygon ( IList<AvlNet.Point2D> inPoints, AvlNet.Path inPolygon, IList<bool> outIsContainedArray, IList<AvlNet.Point2D> outPoints, NullableValue<bool> outAreAllContained )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Points which will be tested. | ||
![]() | inPolygon | AvlNet.Path | Polygon against which the points will be tested. | ||
![]() | outIsContainedArray | System.Collections.Generic.IList<bool> | |||
![]() | outPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Points that are contained. | ||
![]() | outAreAllContained | AvlNet.NullableValue<bool> | Can be null to skip this parameter calculation. |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Empty polygon on input in TestPointArrayInPolygon. |
| DomainError | Open path on input in TestPointArrayInPolygon. |
Function Overrides
- TestPointArrayInPolygon(IList<Point2D>, Path, IList<Boolean>, IList<Point2D>)
- TestPointArrayInPolygon(IList<Point2D>, Path, IList<Boolean>, IList<Point2D>, Boolean)


