Oops, instead of arc.angle use angle:
angle = degrees(radians(360) + arc.endangle - arc.startangle)
My head was in the math not the code, sorry.
-Josh
Minkwitz Design wrote:
> Hi Daniel,
> Using the following functions:
>
> Public Function Radians(Degrees As Double) As Double
> Radians = Degrees / 180 * 3.141592654
> End Function
> Private Function Degrees(Radians As Double) As Double
> Degrees = Radians / 3.141592654 * 180
> End Function
>
> Where arc is a variable set to the arc in question(a true acadarc not a
> polyline), it should be something to the effect of:
>
> chord_length = 2(sin(arc.angle/2))/arc.radius)
>
> Double check my parenthesis, but all in all its the sin of 1/2 the arc
> angle divided by the arc radius times 2.
> -Josh
>
> daniel-vazquez wrote:
>
>> Does anybody can help me?, I need to dimensioning the lenght of an arc
>> instead of the angle.
>
>