Given a circle segment with radius r and chord length d:
r
d
How can I compute the height h over the chord of a circle point depending on angle alpha?
h
alpha
h = r sin(α+ß) - c
where
c = √(r²-d²/4)
and
sin(ß) = c / r