TheSwamp

Code Red => .NET => Topic started by: wilbur on April 06, 2016, 05:32:43 AM

Title: Self Intersection PolyLine To Multi Region
Post by: wilbur on April 06, 2016, 05:32:43 AM
Hi everybody,
Here I've meet a problem which is below
the image is attached below
In my situation, I have a  self-intersecting PolyLine(I User two in example and may have more in usage)
And I tried to explode the polyline and I get a DBObjectCollection and the count of the dbobjectcollection is 8.
So I wanna Know how I can get the total region of the polyline(in the sample ,I wanna get the 2 region in both 1 and 2
and also How can I get two new poly line use the dbobjectcollection)?
(http://pic1.png)
Wish to get help from you!
Title: Re: Self Intersection PolyLine To Multi Region
Post by: gile on April 06, 2016, 06:26:36 AM
Hi,

You cannot create regions from self intersecting polylines.
If you explode the polyline into lines, you have to "cut" each intersecting line at intersection point, then you should be able to create regions from the lines.
Title: Re: Self Intersection PolyLine To Multi Region
Post by: wilbur on April 06, 2016, 09:11:37 PM
Hi,

You cannot create regions from self intersecting polylines.
If you explode the polyline into lines, you have to "cut" each intersecting line at intersection point, then you should be able to create regions from the lines.

Hi,gile
Would you tell me how to "cut" each intersecting line at intersection point and create region from these lines
can you give me some examples or links ~?