Package org.locationtech.jts.geom.util
Class GeometryExtracter
java.lang.Object
org.locationtech.jts.geom.util.GeometryExtracter
- All Implemented Interfaces:
GeometryFilter
Extracts the components of a given type from a
Geometry.- Version:
- 1.7
-
Constructor Summary
ConstructorsConstructorDescriptionGeometryExtracter(Class clz, List comps) Deprecated.GeometryExtracter(String geometryType, List comps) Constructs a filter with a list in which to store the elements found. -
Method Summary
-
Constructor Details
-
GeometryExtracter
Deprecated.Constructs a filter with a list in which to store the elements found.- Parameters:
clz- the class of the components to extract (null means all types)comps- the list to extract into
-
GeometryExtracter
Constructs a filter with a list in which to store the elements found.- Parameters:
geometryType- Geometry type to extract (null means all types)comps- the list to extract into
-
-
Method Details
-
extract
Deprecated.- Parameters:
geom- the geometry from which to extractlist- the list to add the extracted elements to
-
extract
- Parameters:
geom- the geometry from which to extractgeometryType- Geometry type to extract (null means all types)list- the list to add the extracted elements to
-
extract
Deprecated.- Parameters:
geom- the geometry from which to extract
-
extract
-
isOfType
-
filter
Description copied from interface:GeometryFilterPerforms an operation with or ongeom.- Specified by:
filterin interfaceGeometryFilter- Parameters:
geom- aGeometryto which the filter is applied.
-
extract(Geometry, String)