Jump to content

Recommended Posts

Posted

Hi all,

 

Is there a way to find which points creates a closed polygon among a set of points.

 

I have a list of points, Using that points i want to create a closed polygon.

here no need to use all points. Need to use only those points which will creates a closed polygon.

 

for ex:

 

the following points will create a self inspecting polyline

 

X= 1.0715 Y= 2.2652

X= 1.0547 Y= 3.5137

X= 1.0293 Y= 5.5300

X= 2.5485 Y= 5.8253

X= 3.1308 Y= 4.3405

X= 0.1263 Y= 3.8849

 

From this i am excepting the following result, which is a closed part in the self intersecting polyline.

 

((1.04825 4.02473)(1.02935 5.52999)(2.54849 5.82526)(3.13082 4.34049))

 

 

Thanks,

Kumar.:o

Posted
Using that points i want to create a closed polygon.

here no need to use all points. Need to use only those points which will creates a closed polygon.

 

Any three non-collinear points will form a closed polygon (triangle).

Posted

I think my explanation is not clear.

 

Please refer the snap shot.

 

i have self intersected poly line. from that i want extract vertices for only closed part (which is marked with red circle).

 

any ideas to this.tst.JPG

 

Thanks,

Kumar.

Posted

I don't believe that could be determined from just the points, since, as I stated, any combination of three points would form the closed area.

Posted

Why not just use the Boundary command to generate a new polyline inside the enclosure?

Posted
Why not just use the Boundary command to generate a new polyline inside the enclosure?

 

... That's what I'd do.

Posted

Thanks a lot.

 

I am new to autocad and not aware of boundary command.

This works great for me. :)

Posted

OOPS ................ I haven't used that in a decade. :?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...