Method ComputeMutualDisjoint
ComputeMutualDisjoint(IList<IShape>)
Computes whether the shapes are mutually disjoint. This is a utility method
offered for use by a subclass implementing RelateContainsShortCircuits().
Beware: this is an O(N^2) algorithm.. Consequently, consider safely
assuming non-disjoint if shapes.Count > 10 or something. And if all shapes
are a IPoint then the result of this method doesn't ultimately matter.
Declaration
protected static bool ComputeMutualDisjoint(IList<IShape> shapes)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IList<IShape> |
shapes |
|
Returns
Type |
Description |
System.Boolean |
|