Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Basics » CreateArc

CreateArc


Creates an arc from an aligned point, radius, and angle range.

Syntax

C++
C#
 
void avl::CreateArc
(
	const avl::Point2D& inPoint,
	avl::Anchor2D::Type inPointAnchor,
	atl::real inRadius,
	atl::real inStartAngle,
	atl::real inSweepAngle,
	avl::Arc2D& outArc
)

Parameters

Name Type Range Default Description
inPoint const Point2D&
inPointAnchor Anchor2D::Type MiddleCenter Alignment of the point relatively to the box of the circle
inRadius real 0.0 - Circle radius
inStartAngle real Direction at which the arc begins
inSweepAngle real Length of the arc (may be negative)
outArc Arc2D&