Back to FabImage Library website
You are here: Start » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » ResizeCircle
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Changes radius of a circle.
Syntax
C++
C#
void fil::ResizeCircle ( const fil::Circle2D& inCircle, float inNewSize, fil::Circle2D& outCircle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inCircle | const Circle2D& | |||
![]() |
inNewSize | float | 0.0 - ![]() |
1.0f | New value for radius |
![]() |
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
![]() |
![]() |
ResizeCircle performed on the sample circle, inNewSize = 40.