Yes, I do. You can use the class
System.Drawing.Region
. If you did not get what I mean, pay attention for its set-theory methods/properties
Complement
,
Exclude
,
Intersects
,
IsEmpty
,
MakeEmpty
,
Union
,
Xor
:
http://msdn.microsoft.com/en-us/library/system.drawing.region.aspx[
^].
You have all the operations you may need for your analysis, which will only take some thinking…
Please pay attention: you don't have to use any graphics, say, with
System.Windows.Forms
or any other limitation. You can use this library with or without graphics of any nature, just for pure set-theory calculations.
—SA