javascript - Intersection point of a line with cardinal interpolation and a line with linear interpolation in D3 -


i need find intersection point of line cardinal interpolation

i.e.

var line = d3.svg.line() .interpolate("cardinal") .x(function(d, i) { return x(d.x); }) .y(function(d, i) { return y(d.y); }); 

and line between 2 points

i.e.

svg.append('line').attr('x1',x1).attr('y1',y1).attr('x2',x2).attr('y2',y2) 

is there way find intersection of above mentioned lines? or can equation of cardinal spline given default value cardinal interpolation in d3 '0.7' ?


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -