In C++ how can I calculate all possible Bezier handle points in order to make the curve to a given length?
===

In C++, Given two anchor points and a handle point of a Quad Bezier curve, how can I calculate the other handle point in order to make the curve length to a fixed value?

What kind of orbit will it be?

I am doing a CAD software. I need to make the cursor "snap to" the possible point when moving nearby it. So I need to calculate the orbit rather than simply check what the length would be.