I am getting issue with ShapeGeometry.
As you can see in below image, when I use same set of points for ShapeGeometry, I am getting intersected result.
When add lines passing through those points, I am getting proper result. There is no intersection.