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

Posted by softwarequestioneer on Stack Overflow See other posts from Stack Overflow or by softwarequestioneer
Published on 2010-02-23T00:50:52Z Indexed on 2010/04/21 12:23 UTC
Read the original article Hit count: 269

Filed under:
|
|
|
|

Hi, 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 bezier.

The BezierSegment in C# requires start, controlPoint 1, controlPoint 2, endpoint - however I don't have any control points I only have these two points that lie along the bezier curves (i'm calling them intersection points above)... how can I calculate the two control points?

Thanks in advance, this has been driving me crazy.

There's some kind of explanation here: http://www.tinaja.com/glib/nubz4pts1.pdf but it's written in postscript and that language makes no sense to me at all - it's over my head.

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf