public class PolygonizerWithoutInvalidLists extends Object
The Polygonizer reports the follow kinds of errors:
| Modifier and Type | Field and Description |
|---|---|
protected List |
cutEdges |
protected Collection |
dangles |
protected com.vividsolutions.jts.operation.polygonize.PolygonizeGraph |
graph |
protected List |
holeList |
protected List |
invalidRingLines |
protected List |
polyList |
protected List |
shellList |
| Constructor and Description |
|---|
PolygonizerWithoutInvalidLists()
Create a polygonizer with the same
GeometryFactory
as the input Geometrys |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection geomList)
Add a collection of geometries to be polygonized.
|
void |
add(com.vividsolutions.jts.geom.Geometry g)
Add a geometry to the linework to be polygonized.
|
Collection |
getCutEdges()
Get the list of cut edges found during polygonization.
|
Collection |
getDangles()
Get the list of dangling lines found during polygonization.
|
Collection |
getInvalidRingLines()
Get the list of lines forming invalid rings found during polygonization.
|
Collection |
getPolygons()
Gets the list of polygons formed by the polygonization.
|
protected com.vividsolutions.jts.operation.polygonize.PolygonizeGraph graph
protected Collection dangles
protected List cutEdges
protected List invalidRingLines
protected List holeList
protected List shellList
protected List polyList
public PolygonizerWithoutInvalidLists()
GeometryFactory
as the input Geometryspublic void add(Collection geomList)
geomList - a list of Geometrys with linework to be polygonizedpublic void add(com.vividsolutions.jts.geom.Geometry g)
g - a Geometry with linework to be polygonizedpublic Collection getPolygons()
Polygonspublic Collection getDangles()
LineStrings which are danglespublic Collection getCutEdges()
LineStrings which are cut edgespublic Collection getInvalidRingLines()
LineStrings which form invalid ringsCopyright © 2016. All rights reserved.