JTS Core 1.17.1
Packages
Classes
Search
About
Top
PointExtracter(List)
getPoints(Geometry, List): List
getPoints(Geometry): List
filter(Geometry): void
Bottom
Source
Classic
org.locationtech.jts.geom.util
Class PointExtracter
Hierarchy:
Object
, PointExtracter
All Implemented Interfaces:
GeometryFilter
public class PointExtracter
implements
GeometryFilter
Extracts all the 0-dimensional (
Point
) components from a
Geometry
.
See also:
GeometryExtracter
Other
version: 1.7
public
PointExtracter(
List
pts)
Constructs a PointExtracterFilter with a list in which to store Points found.
public
static
List
getPoints(
Geometry
geom,
List
list)
Extracts the
Point
elements from a single
Geometry
and adds them to the provided
List
.
Parameters:
geom - geom the geometry from which to extract
list - list the list to add the extracted elements to
public
static
List
getPoints(
Geometry
geom)
Extracts the
Point
elements from a single
Geometry
and returns them in a
List
.
Parameters:
geom - geom the geometry from which to extract
public
void filter(
Geometry
geom)