Back to Aurora Vision Library website

You are here: Start » Function Reference » Geometry 2D » Geometry 2D Relations » TestPointArrayInBox

TestPointArrayInBox


Header: AVL.h
Namespace: avl
Module: FoundationLite

Tests which points lie inside a box.

Syntax

C++
C#
 
void avl::TestPointArrayInBox
(
	const atl::Array<avl::Point2D>& inPoints,
	const avl::Box& inBox,
	atl::Array<bool>& outIsContainedArray,
	atl::Optional<atl::Array<avl::Point2D>&> outPoints = atl::NIL,
	atl::Optional<bool&> outAreAllContained = atl::NIL
)

Parameters

Name Type Default Description
Input value inPoints const Array<Point2D>& Points which will be tested
Input value inBox const Box&
Output value outIsContainedArray Array<bool>&
Output value outPoints Optional<Array<Point2D>&> NIL Points that are contained
Output value 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.