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

AVL.CreateArc

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CreateArc
(
	AvlNet.Point2D inPoint,
	AvlNet.Anchor2D inPointAnchor,
	float inRadius,
	float inStartAngle,
	float inSweepAngle,
	out AvlNet.Arc2D outArc
)

Parameters

Name Type Range Default Description
inPointAvlNet.Point2D
inPointAnchorAvlNet.Anchor2DMiddleCenterAlignment of the point relatively to the box of the circle. Default value: MiddleCenter.
inRadiusfloat<0.0f, INF>Circle radius.
inStartAnglefloatDirection at which the arc begins.
inSweepAnglefloatLength of the arc (may be negative).
outArcAvlNet.Arc2D

See also