Search:

Type: Posts; User: Mike

Search: Search took 0.31 seconds.

  1. Replies
    7
    Views
    4,876

    Re: Getting all points in line

    Two example paths:
    http://img710.imageshack.us/img710/6214/griddj.jpg
  2. Replies
    7
    Views
    4,876

    Re: Getting all points in line

    Here is image to explain better what im doing:

    http://img705.imageshack.us/img705/772/gridk.jpg

    So imagine every grid cell as object Cell(x,y);

    The red cell is the start Cell and green one...
  3. Replies
    7
    Views
    4,876

    Getting all points in line

    In my code i create line by using two points.


    Point p1 = new Point(2234, 2236);
    Point p2 = new Point(2250, 2210);


    What i need to do is get Point[] array containing all points in that line....
Results 1 to 3 of 3