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
-
GeometryExtracter
-
-
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
-
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)