Class HoleAssigner
- java.lang.Object
-
- org.locationtech.jts.operation.polygonize.HoleAssigner
-
public class HoleAssigner extends java.lang.Object
Assigns hole rings to shell rings during polygonization. Uses spatial indexing to improve performance of shell lookup.- Author:
- mdavis
-
-
Constructor Summary
Constructors Constructor Description HoleAssigner(java.util.List<org.locationtech.jts.operation.polygonize.EdgeRing> shells)
Creates a new hole assigner.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assignHolesToShells(java.util.List<org.locationtech.jts.operation.polygonize.EdgeRing> holeList)
Assigns holes to the shells.static void
assignHolesToShells(java.util.List holes, java.util.List shells)
Assigns hole rings to shell rings.
-
-
-
Method Detail
-
assignHolesToShells
public static void assignHolesToShells(java.util.List holes, java.util.List shells)
Assigns hole rings to shell rings.- Parameters:
holes
- list of hole rings to assignshells
- list of shell rings
-
assignHolesToShells
public void assignHolesToShells(java.util.List<org.locationtech.jts.operation.polygonize.EdgeRing> holeList)
Assigns holes to the shells.- Parameters:
holeList
- list of hole rings to assign
-
-