How to find control points for a BezierSegment given Start, End, and 2 Intersection Pts in C# - AKA Cubic Bezier 4-point Interpolation

前端 未结 4 1738
清酒与你
清酒与你 2020-12-04 18:52

I\'ve been struggling looking for an understandable way to do this. I have four points, a StartPt, EndPoint, and Intersection points to represent the peak and valley in the

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 19:13

    Here are two good examples:

    http://www.codeproject.com/KB/graphics/ClosedBezierSpline.aspx http://www.codeproject.com/KB/graphics/BezierSpline.aspx

    Also see this animation to better understand how BezierSplines work http://en.wikipedia.org/wiki/B%C3%A9zier_curve

提交回复
热议问题