Click here to Skip to main content
15,916,692 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
N number of (x,y)points where the spline curve passes through is given.
and line is drawn from (0,0) through a (x,y) point. i have derived a equation of that line using those two points and i found out the remaining points which lie on the line. But i couldn't find out exact intersection point of a spline curve and a line ... Please help me out to solve this.
Posted
Updated 7-Jan-15 0:11am
v2

1 solution

I think what you are looking for is "Bezier Clipping"

Here is a link to a paper[^] on it but there may be better explanations via google now that you have the algorithm name :-)
 
Share this answer
 
Comments
Dinesh92d 7-Jan-15 23:01pm    
Thanks for the link CHill60.But is it possible to implement this in .Net ?
CHill60 8-Jan-15 6:25am    
Yes. I believe I've seen examples out there in google-land or you could write it yourself based on the algorithm - possibly extending what you have already done

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900