Class HoleAssigner
- Namespace
- NetTopologySuite.Operation.Polygonize
- Assembly
- NetTopologySuite.dll
Assigns hole rings to shell rings during polygonization. Uses spatial indexing to improve performance of shell lookup.
public class HoleAssigner
- Inheritance
-
HoleAssigner
- Inherited Members
Constructors
HoleAssigner(IEnumerable<EdgeRing>)
Creates a new hole assigner.
public HoleAssigner(IEnumerable<EdgeRing> shells)
Parameters
shells
IEnumerable<EdgeRing>An enumeration of shell rings to assign holes to
Methods
AssignHolesToShells(IEnumerable<EdgeRing>)
Assigns holes to the shells.
public void AssignHolesToShells(IEnumerable<EdgeRing> holes)
Parameters
holes
IEnumerable<EdgeRing>An enumeration of holes to assign to shells
AssignHolesToShells(IEnumerable<EdgeRing>, IEnumerable<EdgeRing>)
Assigns hole rings to shell rings.
public static void AssignHolesToShells(IEnumerable<EdgeRing> holes, IEnumerable<EdgeRing> shells)
Parameters
holes
IEnumerable<EdgeRing>An enumeration of hole rings to assign
shells
IEnumerable<EdgeRing>An enumeration of shell rings