arc_to

A circular arc to a point.

Signatures

  • arc_to( vector to, float radius )
  • arc_to( vector to, float radius, bool right )
  • arc_to( vector to, float radius, bool right, bool short )
  • arc_to( vector to, float radius, bool right, bool short, vector normal )

Details

This curve segments adds a circular arc towards target point to to a curve.

The figure shows the four different options for a circular arc towards point to that can be addressed via the parameters right and short.

Parameters

to

The target point the arc is drawn to.

radius

The radius of the circular arc.

right

Determines whether the arc bends to the right (true) or to the left (false) (default: false).

short

Determines whether the arc takes the shorter (true) or the longer (false) of the two possible routes (default: true).

normal

Determines the axis direction of the arc circle (default: <[0,0,1]>).

See also