Dimensioning in C++

Hi,

I was wondering how I can generate the Angular Dimension to work with the arc? In the example you gave me I choose a center point and two lines basically…but how should the code be changed in order to take an Arc as an input?

Thanks!