Track points 2D. Split and generalize polylines.
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1

Thread: Track points 2D. Split and generalize polylines.

Threaded View

  1. #1
    Join Date
    Feb 2005
    Location
    Madrid (Spain)
    Posts
    511

    Track points 2D. Split and generalize polylines.

    Hi gurus.

    I'm working with track points. I need separate the original track in parts that are not duplicate. I'm looking for algorithm to solve examples like these:

    Example 1: if target is A, the goal is A and A-B is the same way that B-A, we only have one track A-B.

    Name:  Example1.png
Views: 112
Size:  6.5 KB

    Example 2: if we arrive to a roundabout and we use it only for change the direction we have two tacks: one to arrive the roundabout and two the roundabout.

    Name:  Example2.png
Views: 72
Size:  8.2 KB

    Any help is appreciated; documents, ideas.... Thanks in advance.

    Best regards!


    Is clear the question?
    Last edited by juanpast; April 18th, 2013 at 08:38 AM.

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center