Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » TranslateCircle
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationLite |
Translates a circle by a vector.
Syntax
C++
C#
void avl::TranslateCircle ( const avl::Circle2D& inCircle, const avl::Vector2D& inDelta, bool inInverse, avl::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.