Module arc

Source
Expand description

An ellipse arc.

Structsยง

Arc
A single elliptical arc segment.

Functionsยง

rotate_pt ๐Ÿ”’
Rotate pt about the origin by angle radians.
sample_ellipse ๐Ÿ”’
Take the ellipse radii, how the radii are rotated, and the sweep angle, and return a point on the ellipse.