You are here: Start » AVL.NET » AVL.TestPointArrayInShape

AVL.TestPointArrayInShape

Tests which points lie inside a shape.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void TestPointArrayInShape
(
	IList<AvlNet.Point2D> inPoints,
	AvlNet.Path inShape,
	IList<bool> outIsContainedArray,
	IList<AvlNet.Point2D> outPoints
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Points the positions of which will be tested.
inShapeAvlNet.PathShape against which the points will be tested.
outIsContainedArraySystem.Collections.Generic.IList<bool>
outPointsSystem.Collections.Generic.IList<AvlNet.Point2D>

Errors

List of possible exceptions:

Error type Description
DomainError Empty shape on input in TestPointArrayInShape.
DomainError Open path on input in TestPointArrayInShape.

See also