Derive control points for bezier curve from a bounding box

76 Views Asked by At

Given that I start with a bounding box of 4 (x,y) vertices representing the corners. And given that I have 2 of the 3 control points to plot a quadratic bezier curve, how do I derive the 3rd control point such that the resulting bezier curve fits into the bounding box?

enter image description here