Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AlignPointArray
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Moves an array of points from a local coordinate system to the absolute one.
Applications: Required when there are points defined in a local coordinate system, but the next image-related filter in the program does not have any inAlignment input.
Syntax
C++
C#
void fil::AlignPointArray ( const ftl::Array<fil::Point2D>& inPoints, const fil::CoordinateSystem2D& inAlignment, bool inInverse, ftl::Array<fil::Point2D>& outAlignedPoints )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | ||
![]() |
inAlignment | const CoordinateSystem2D& | Coordinate system to align to | |
![]() |
inInverse | bool | Switches to the inverse transform | |
![]() |
outAlignedPoints | Array<Point2D>& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPoints and outAlignedPoints
Read more about In-place Computation.