Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Spatial Transforms » ResizeArc

ResizeArc


Header:AVL.h
Namespace:avl

Changes radius of an arc.

Syntax

C++
C#
 
void avl::ResizeArc
(
	const avl::Arc2D& inArc,
	const float inNewSize,
	avl::Arc2D& outArc
)

Parameters

Name Type Range Default Description
inArc const Arc2D&
inNewSize const float 0.0 - 1.0f
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

ResizeArc performed on the sample arc, inNewSize = 130.