Reputation: 13491
If I have two WTK (well known text) shapes in C# how can I tell if these intersect?
For instance are there any libraries, or are there any standard algorithms?
I might also need to do this using a group of points like this for each shape,
public double[] Eastings { get; set; }
public double[] Northings { get; set; }
Upvotes: 2
Views: 602
Reputation: 60957
Sounds like you want the .NET topology suite, which implements WKT parsing and full topology operations such as Intersect and Overlaps tests. I haven't actually used the .NET version, but I've used its predecessor the Java Topology Suite (JTS) and it's worked very well for me.
Upvotes: 1