Back to Aurora Vision Library website

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

CircleSection


Header: AVL.h
Namespace: avl
Module: FoundationLite

Computes an arciform section of the circle perimeter.

Syntax

C++
C#
 
void avl::CircleSection
(
	const avl::Circle2D& inCircle,
	float inStartAngle,
	float inSweepAngle,
	avl::Arc2D& outArc
)

Parameters

Name Type Default Description
Input value inCircle const Circle2D& Input circle
Input value inStartAngle float Direction at which the arc begins
Input value inSweepAngle float Angular length of the arc (may be negative)
Output value outArc Arc2D&

Examples

CircleSection performed on the sample circle, inStartAngle = 20.0 and inSweepAngle = 110.0.