Back to FabImage Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » TrimPointArray
TrimPointArray
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
Removes points not contained in a box from an array.
Syntax
void fil::TrimPointArray ( const ftl::Array<fil::Point2D>& inPoints, const fil::Box& inBox, ftl::Array<fil::Point2D>& outPoints )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | ||
![]() |
inBox | const Box& | ||
![]() |
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.


