TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: mailmaverick on March 16, 2017, 09:38:48 AM

Title: Intersection Area of 2 Polylines
Post by: mailmaverick on March 16, 2017, 09:38:48 AM
Hi,

There are two Closed Polylines intersecting each other. I want area of intersection (i.e. area of overlapping). I dont want to create any common polyline or region, just need the common area. Please share if anyone has code for it.

Thanks.
Title: Re: Intersection Area of 2 Polylines
Post by: ronjonp on March 16, 2017, 09:51:27 AM
BOUNDARY command.
Title: Re: Intersection Area of 2 Polylines
Post by: mailmaverick on March 16, 2017, 11:21:24 AM
I am not doing it manually but in LISP.
When i use BOUNDARY command, it asks for internal point.

How to know coordinates of any point in the Overlapping Area.
Title: Re: Intersection Area of 2 Polylines
Post by: steve.carson on March 16, 2017, 01:32:40 PM
I don't have time to test or code anything up but maybe create a region for each polyline, then run "intersect" on them, then get the area property of the resulting region.