Skip to main content
Question

Connect lines and points to create polygon

  • March 14, 2016
  • 1 reply
  • 70 views

Hi, I am trying to create a polygon by connecting points and lines but without any satisfying result. Any ideas on how to solve this problem? See example below. The red line indicates what the resulting line should look like so it can be converted to a polygon.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

jdh
Contributor
Forum|alt.badge.img+41
  • Contributor
  • March 14, 2016

I would identify all the dangle nodes (using the topologyBuilder)

 

Then send them through a neighborFinder

 

Then use a VertexCreator to add the _closest_base coordinates to the node, which will create the missing lines.

 

 

You might want some logic to remove duplicate lines, but if all you're interested in is the polygon, then it's not strictly necessary.