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 java.lang.Object implements GeometryFilter
- Version:
- 1.7
- See Also:
GeometryExtracter
-
-
Constructor Summary
Constructors Constructor Description PointExtracter(java.util.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 void
filter(Geometry geom)
Performs an operation with or ongeom
.static java.util.List
getPoints(Geometry geom)
static java.util.List
getPoints(Geometry geom, java.util.List list)
-
-
-
Method Detail
-
getPoints
public static java.util.List getPoints(Geometry geom, java.util.List list)
- Parameters:
geom
- the geometry from which to extractlist
- the list to add the extracted elements to
-
getPoints
public static java.util.List getPoints(Geometry geom)
- Parameters:
geom
- the geometry from which to extract
-
filter
public void filter(Geometry geom)
Description copied from interface:GeometryFilter
Performs an operation with or ongeom
.- Specified by:
filter
in interfaceGeometryFilter
- Parameters:
geom
- aGeometry
to which the filter is applied.
-
-