Class HoleAssigner
Assigns hole rings to shell rings during polygonization. Uses spatial indexing to improve performance of shell lookup.
Inherited Members
Namespace: NetTopologySuite.Operation.Polygonize
Assembly: NetTopologySuite.dll
Syntax
public class HoleAssigner
Constructors
| Improve this Doc View SourceHoleAssigner(IEnumerable<EdgeRing>)
Creates a new hole assigner.
Declaration
public HoleAssigner(IEnumerable<EdgeRing> shells)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<EdgeRing> | shells | An enumeration of shell rings to assign holes to |
Methods
| Improve this Doc View SourceAssignHolesToShells(IEnumerable<EdgeRing>)
Assigns holes to the shells.
Declaration
public void AssignHolesToShells(IEnumerable<EdgeRing> holes)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<EdgeRing> | holes | An enumeration of holes to assign to shells |
AssignHolesToShells(IEnumerable<EdgeRing>, IEnumerable<EdgeRing>)
Assigns hole rings to shell rings.
Declaration
public static void AssignHolesToShells(IEnumerable<EdgeRing> holes, IEnumerable<EdgeRing> shells)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<EdgeRing> | holes | An enumeration of hole rings to assign |
IEnumerable<EdgeRing> | shells | An enumeration of shell rings |