graphics - find the point at which two Paths cross in android -
okay, have 2 simple separate path objects, 1 containing straight line created lineto , 1 containing curve generated quadto function. need point (x, y) these 2 objects insect, once distance 1 side of arc of point intersect.
there lots of posts figuring out if intersect, can't find information on how figure out intersect.
edit! still can't figure out, i've been trying fake measuring distance along yellow line black lines drawn apart each other , making whole new curve. it's sloppy , not working well. see image!
if can distance end black curve intersects yellow line, can segment of curve, , 2 points on it's end, , work great!
any ideas, anyone? :)
thanks!
Comments
Post a Comment