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