Function fillArcGBRITEM initializes a given GBRITEM so that it can draw an arc G code.

if multiquadrant == true : arc can be 0 to 360 degrees and rel_center is the center coordinate relative to start point.

if multiquadrant == false arc can be only 0 to 90 deg, and only in the same quadrant :

absolute angle 0 to 90 (quadrant 1) or

absolute angle 90 to 180 (quadrant 2) or

absolute angle 180 to 270 (quadrant 3) or

absolute angle 270 to 0 (quadrant 4)

Parameters

aGbrItem

is the GBRITEM to fill in.

Dcode_index

is the DCODE value, like D14

aStart

is the starting point

aEnd

is the ending point

aRelCenter

is the center coordinate relative to start point, given in ABSOLUTE VALUE and the sign of values x et y de rel_center must be calculated from the previously given constraint: arc only in the same quadrant.