Results 1 to 5 of 5

Thread: Ordering points

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2008
    Posts
    513

    Ordering points

    Hello: I'm working on an windows app in vb 2005 and it incorporates an autocad api.

    My program is placing points in the center of polyline objects that look like letters. (see pic - the points are represented as the small squares).

    I need to connect the points; however, in the collection that contains these points, they are not in any paticular order.

    One idea I have it to try to find the point that is closest to another point; however, If I have an object that resembles the letter "W", there's the possibility that it will find another point closer that's not in the order that visually looks correct.

    I was wondering if anyone has any ideas?

    Thanks for your help,
    Proctor
    Attached Images Attached Images  

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width