Finding intersection of two lines in this figure? -


i have 2 points b(x1,y1) , c(x2,y2), calculate corrdinate of 2 more points j(xdd,ydd) , k(xgg,ygg) know want find coordinate of yellow star point intersection of line jk , bc, how can it?

thanks in advance.

enter image description here

xdd= x1(index1)+(deltax*d_cl)/d +(deltay/d)*sqrt(r^2-d_cl^2); ydd= y1(index1)+(deltay*d_cl)/d-(deltax/d)*sqrt(r^2-d_cl^2); xgg= x1(index1)+(deltax*d_cl)/d-(deltay/d)*sqrt(r^2-d_cl^2); ygg=y1(index1)+(deltay*d_cl)/d+(deltax/d)*sqrt(r^2-d_cl^2); 

if right star in middle of , d or b , c. not need consider j , k.

p  = 1/2 (a+d) = 1/2 (b+c) 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -