G
Guest
I'm drawing points and lines in a picturebox control in visual basic .Net,
and i need to know the point() where those lines "cross" each other. That
would be easy if the lines where only vertical and horizontal because i could
try to find the pixels that would be used between two point to draw the lines
and see if there is a common pixel for those two lines but if the line(s) is
diagonal i can't determine the point where the lines meet each other
Is there anyway in vb .net to find the point where two lines meet each other?
\
\ /
\/
/\
/ \
/ \
\
and i need to know the point() where those lines "cross" each other. That
would be easy if the lines where only vertical and horizontal because i could
try to find the pixels that would be used between two point to draw the lines
and see if there is a common pixel for those two lines but if the line(s) is
diagonal i can't determine the point where the lines meet each other
Is there anyway in vb .net to find the point where two lines meet each other?
\
\ /
\/
/\
/ \
/ \
\