CreateArc


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

Syntax

C++
Python
 
def CreateArc(
	inPoint: Point2D,
	inRadius: float,
	inStartAngle: float,
	inSweepAngle: float,
	/,
	*,
	inPointAnchor: Anchor2D = Anchor2D.MiddleCenter
)
-> outArc: Arc2D

Parameters

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