Package org.locationtech.jts.geom.util
Class PointExtracter
- java.lang.Object
-
- org.locationtech.jts.geom.util.PointExtracter
-
- All Implemented Interfaces:
GeometryFilter
public class PointExtracter extends Object implements GeometryFilter
- Version:
- 1.7
- See Also:
GeometryExtracter
-
-
Constructor Summary
Constructors Constructor Description PointExtracter(List pts)Constructs a PointExtracterFilter with a list in which to store Points found.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfilter(Geometry geom)Performs an operation with or ongeom.static ListgetPoints(Geometry geom)static ListgetPoints(Geometry geom, List list)
-
-
-
Constructor Detail
-
PointExtracter
public PointExtracter(List pts)
Constructs a PointExtracterFilter with a list in which to store Points found.
-
-
Method Detail
-
getPoints
public static List getPoints(Geometry geom, List list)
- Parameters:
geom- the geometry from which to extractlist- the list to add the extracted elements to
-
getPoints
public static List getPoints(Geometry geom)
- Parameters:
geom- the geometry from which to extract
-
filter
public void filter(Geometry geom)
Description copied from interface:GeometryFilterPerforms an operation with or ongeom.- Specified by:
filterin interfaceGeometryFilter- Parameters:
geom- aGeometryto which the filter is applied.
-
-