he orientation of the arc is set by <code>focus_pos</code>, which corresponds to any point on the axis of the arc (note, this must not be equal to <code>arc_pos</code>). It is assumed that the arc angle is equal to or less than pi radians. If the radius is set to <code>inf</code>, a line is generated.</p>

<h2>Examples</h2>

<pre class="codeinput">
<span class="comment">% define parameters</span>
grid_size = [128, 128];
arc_pos   = [32, 32];
radius    = 60;
diameter  = 61;
focus_pos = grid_size;

<span clas