Class PolygonalLineworkExtracter

java.lang.Object
org.locationtech.jts.operation.overlay.validate.PolygonalLineworkExtracter
All Implemented Interfaces:
GeometryFilter

class PolygonalLineworkExtracter extends Object implements GeometryFilter
Extracts the LineStrings in the boundaries of all the polygonal elements in the target Geometry.
  • Field Details

    • linework

      private List linework
  • Constructor Details

    • PolygonalLineworkExtracter

      public PolygonalLineworkExtracter()
  • Method Details

    • filter

      public void filter(Geometry g)
      Filters out all linework for polygonal elements
      Specified by:
      filter in interface GeometryFilter
      Parameters:
      g - a Geometry to which the filter is applied.
    • getLinework

      public List getLinework()
      Gets the list of polygonal linework.
      Returns:
      a List of LineStrings