GetChordLength
not ratedTakes radius of circle, and the angle created by the radii drawn from the two endpoints of the chord to the center. Another simple, yet very useful function.
function GetChordLength takes real radius, real centAngle returns real
return ((SinBJ((centAngle/2)) * radius) * 2)
endfunctionNo comments.