Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Algorithms
  4. Alignment and rectification of polylines

Alignment and rectification of polylines

Scheduled Pinned Locked Moved Algorithms
data-structurescomquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chesnokov Yuriy
    wrote on last edited by
    #1

    What are the approaches used for horizontal/vertical alignment and rectification of inaccurately orientated polylines? inaccurately alligned structure I believe as a starting point a graph representation is needed for further processing

    Чесноков

    K L 2 Replies Last reply
    0
    • C Chesnokov Yuriy

      What are the approaches used for horizontal/vertical alignment and rectification of inaccurately orientated polylines? inaccurately alligned structure I believe as a starting point a graph representation is needed for further processing

      Чесноков

      K Offline
      K Offline
      Kenneth Haugland
      wrote on last edited by
      #2

      Your problem seem to exists of creating 90 or 180 degree angles between all your lines? I dont think theres an algorithem for that. Personally I would do something different, like holding down the shift hey to only allow 90 degree bends: WPF-Drawing Canvas Control[^]

      1 Reply Last reply
      0
      • C Chesnokov Yuriy

        What are the approaches used for horizontal/vertical alignment and rectification of inaccurately orientated polylines? inaccurately alligned structure I believe as a starting point a graph representation is needed for further processing

        Чесноков

        L Offline
        L Offline
        Lutoslaw
        wrote on last edited by
        #3

        What about creating a grid and moving every point to the nearest valid position? This raises a problem when two points are almost in line, but unfortunately fall into diffferent grid lines. This special case would have to be taken care of manually (and checked after each point aligment performed, as the situation is going to change in time).

        Greetings - Jacek

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups