Back to Aurora Vision Library website

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

ArcLength


Header: AVL.h
Namespace: avl
Module: FoundationLite

Computes the length of an arc.

Syntax

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

Parameters

Name Type Default Description
Input value inArc const Arc2D&
Output value 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.