Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Features » ArcLength

ArcLength


Computes the length of an arc.

Header:AVL.h

Syntax

C++
C#
 
void avl::ArcLength
(
	const avl::Arc2D& inArc,
	float& outLength
)

Parameters

Name Type Default Description
inArc const Arc2D&
outLength float&

Examples

ArcLength performed on an arc with parameters: X = 175, Y = 175, Radius = 100, StartAngle = 0, SweepAngle = 180.
The outLength returns a value of 314,159.