Search code examples
mathgeometrycomputational-geometry

Height of arbitrary point on circle segment


Given a circle segment with radius r and chord length d:

How can I compute the height h over the chord of a circle point depending on angle alpha?

Arc segment


Solution

  • enter image description here

    h = r sin(α+ß) - c
    

    where

    c = √(r²-d²/4)
    

    and

    sin(ß) = c / r