Back to Aurora Vision Library website

You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » TrimPointArray

TrimPointArray


Header: AVL.h
Namespace: avl
Module: FoundationLite

Removes points not contained in a box from an array.

Syntax

C++
C#
 
void avl::TrimPointArray
(
	const atl::Array<avl::Point2D>& inPoints,
	const avl::Box& inBox,
	atl::Array<avl::Point2D>& outPoints
)

Parameters

Name Type Default Description
Input value inPoints const Array<Point2D>&
Input value inBox const Box&
Output value outPoints Array<Point2D>&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inPoints and outPoints

Read more about In-place Computation.