JTS Core 1.17.1
Packages
Classes
Search
About
Top
HoleAssigner(List<EdgeRing>)
assignHolesToShells(List, List): void
assignHolesToShells(List<EdgeRing>): void
Bottom
Source
Classic
org.locationtech.jts.operation.polygonize
Class HoleAssigner
Hierarchy:
Object
, HoleAssigner
public class HoleAssigner
Assigns hole rings to shell rings during polygonization. Uses spatial indexing to improve performance of shell lookup.
Authors:
mdavis
public
HoleAssigner(
List<EdgeRing>
shells)
Creates a new hole assigner.
Parameters:
shells - shells the shells to be assigned to
public
static
void assignHolesToShells(
List
holes,
List
shells)
Assigns hole rings to shell rings.
Parameters:
holes - holes list of hole rings to assign
shells - shells list of shell rings
public
void assignHolesToShells(
List<EdgeRing>
holeList)
Assigns holes to the shells.
Parameters:
holeList - holeList list of hole rings to assign