Class 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 target Geometry.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List linework  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void filter​(Geometry g)
      Filters out all linework for polygonal elements
      java.util.List getLinework()
      Gets the list of polygonal linework.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • linework

        private java.util.List linework
    • Constructor Detail

      • PolygonalLineworkExtracter

        public PolygonalLineworkExtracter()
    • Method Detail

      • 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 java.util.List getLinework()
        Gets the list of polygonal linework.
        Returns:
        a List of LineStrings