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.Listlinework
-
Constructor Summary
Constructors Constructor Description PolygonalLineworkExtracter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(Geometry g)Filters out all linework for polygonal elementsjava.util.ListgetLinework()Gets the list of polygonal linework.
-
-
-
Method Detail
-
filter
public void filter(Geometry g)
Filters out all linework for polygonal elements- Specified by:
filterin interfaceGeometryFilter- Parameters:
g- aGeometryto which the filter is applied.
-
getLinework
public java.util.List getLinework()
Gets the list of polygonal linework.- Returns:
- a List of LineStrings
-
-