Class PolygonalLineworkExtracter
- java.lang.Object
-
- org.locationtech.jts.operation.overlay.validate.PolygonalLineworkExtracter
-
- All Implemented Interfaces:
GeometryFilter
class PolygonalLineworkExtracter extends java.lang.Object implements GeometryFilter
Extracts the LineStrings in the boundaries of all the polygonal elements in the targetGeometry
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List
linework
-
Constructor Summary
Constructors Constructor Description PolygonalLineworkExtracter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
filter(Geometry g)
Filters out all linework for polygonal elementsjava.util.List
getLinework()
Gets the list of polygonal linework.
-
-
-
Method Detail
-
filter
public void filter(Geometry g)
Filters out all linework for polygonal elements- Specified by:
filter
in interfaceGeometryFilter
- Parameters:
g
- aGeometry
to which the filter is applied.
-
getLinework
public java.util.List getLinework()
Gets the list of polygonal linework.- Returns:
- a List of LineStrings
-
-