Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » TranslateArc
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Translates an arc by a vector.
Syntax
C++
C#
void fil::TranslateArc ( const fil::Arc2D& inArc, const fil::Vector2D& inDelta, bool inInverse, fil::Arc2D& outArc )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inArc | const Arc2D& | ||
![]() |
inDelta | const Vector2D& | Translation vector | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outArc | Arc2D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inArc and outArc
Read more about In-place Computation.
Examples
![]() |
![]() |
TranslateArc performed on the sample arc, inDelta = (150.0, 100.0) and inInverse = False.