Coordinator

  • Thread starter Thread starter MAY
  • Start date Start date
M

MAY

Hi,

In a form, i draw a straight line, the start point is, for example (23, 43)
and the end point is (243, 342). I want to check each points on that
straight line, how can i do that?

Regards,

MAY
 
May,

What do you mean you want to check each point on that line? What do you
want to check them for?
 
hi Nicholas,

I want to get the coordinates of each points that on the straight line as I
want perform some GDI+ manipulation such as check if the two straight line
are intersect or not.

MAY
 
I want to get the coordinates of each points that on the straight line as I
want perform some GDI+ manipulation such as check if the two straight line
are intersect or not.

You don't need all points on a line to check if two straight lines
intersect or not. Some fairly trivial equation solving can tell you
that.



Mattias
 
Back
Top