Class ComponentCoordinateExtracter

    • Constructor Detail

      • ComponentCoordinateExtracter

        public ComponentCoordinateExtracter​(List coords)
        Constructs a LineExtracterFilter with a list in which to store LineStrings found.
    • Method Detail

      • getCoordinates

        public static List getCoordinates​(Geometry geom)
        Extracts the linear components from a single geometry. If more than one geometry is to be processed, it is more efficient to create a single ComponentCoordinateExtracter instance and pass it to multiple geometries.
        Parameters:
        geom - the Geometry from which to extract
        Returns:
        a list of Coordinates