Problem with GeometryEngine.Difference in C# WPF

11-07-2019 02:31 AM
New Contributor II


I would like to insert 2 points into pointcollection. After insert i create Polygon and this poligon have 6 points.Name polygon is polygonSecond. 

Before that, i created another polygon with name polygonMain.I would like to use  GeometryEngine.Difference for creating hole into polygonMain with polygonSecond. After creating Hole on polygonMain i have 5 points in part 2 of polygonMain which this part is created from polygonSecond.

After that i have wrong form of polygonMain.

How to solved this problem?

0 Kudos
0 Replies