Class EdgeRing.EnvelopeAreaComparator
Compares EdgeRings based on the area of their envelopes. Smaller envelopes sort before bigger ones. This effectively sorts EdgeRings in order of containment.
Inherited Members
Namespace: NetTopologySuite.Operation.Polygonize
Assembly: NetTopologySuite.dll
Syntax
public class EdgeRing.EnvelopeAreaComparator : IComparer<EdgeRing>
Methods
| Edit this page View SourceCompare(EdgeRing, EdgeRing)
Declaration
public int Compare(EdgeRing r0, EdgeRing r1)
Parameters
| Type | Name | Description |
|---|---|---|
| EdgeRing | r0 | |
| EdgeRing | r1 |
Returns
| Type | Description |
|---|---|
| int |