Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » TranslatePointArray
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Translates an array of points by a vector.
Syntax
C++
C#
void fil::TranslatePointArray ( const ftl::Array<fil::Point2D>& inPoints, const fil::Vector2D& inDelta, bool inInverse, ftl::Array<fil::Point2D>& outPoints )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoints | const Array<Point2D>& | ||
![]() |
inDelta | const Vector2D& | Translation vector | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
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.