I'm parsing points to generate a gcode program. When I encounter arcs I need to determine wether the points are given in a clockwise or counterwise direction.
I'm looking for an easier way to determine this than determining the quadrant of a portion of the span, then comparing x&y changes relative the center point.
Any suggestions.
I'm looking for an easier way to determine this than determining the quadrant of a portion of the span, then comparing x&y changes relative the center point.
Any suggestions.