Can an arc be greater than 360 degrees or less than 0 degrees? Is the (angular) arc length a signed scalar?
I'm creating a Graphics and basic geometry software library. I believe an arc can be defined by 5 scalars, the x and y components of the start point, the x and y components of the centre point and the signed value of the rotation. However I'm concerned that this data definition could lead to unnecessary rounding errors on the end point of the arc, the precise value of which is generally of greater concern than the precise value of the arc's centre point. So I'm leaning towards defining arcs by the 6 scalar definition of the start point, the end point, and the mid point of the circumference of the arc. This data definition has the added advantage that you don't have to worry about reflections, but would exclude arcs of greater than 360 degrees. Is this mathematically sound?
A successful software library will get used in ways unimagined by the library authors. So this where I place a strong priority or weighting on following mathematical definitions, because those more rigorous,robust and tried and tested definitions can hopefully pre-empt problems further down the road.