public class FastPolygonizer extends Object
At least twice as fast as JTS'
polygonizer
.
Modifier and Type | Method and Description |
---|---|
static processing.core.PShape |
polygonize(Collection<PEdge> edges)
Polygonizes a set of edges which represent linework that forms some polygonal
arrangement (a planar graph).
|
public static processing.core.PShape polygonize(Collection<PEdge> edges)
edges
- a collection of NODED (i.e. non intersecting / must only
meet at their endpoints) edges. The collection can contain
duplicates.Copyright © 2023. All rights reserved.