Class: GeometryExtracter

jsts.geom.util.GeometryExtracter

new GeometryExtracter(clz, comps)

Constructs a filter with a list in which to store the elements found.
Parameters:
Name Type Description
clz the class of the components to extract (null means all types).
comps
Source:

Extends

Methods

(static) extract(geom, clz, listopt) → {javascript.util.ArrayList}

Extracts the components of type clz from a Geometry and adds them to the provided List if provided.
Parameters:
Name Type Attributes Description
geom Geometry the geometry from which to extract.
clz Object
list javascript.util.ArrayList <optional>
the list to add the extracted elements to.
Source:
Returns:
Type
javascript.util.ArrayList

filter(geom)

Parameters:
Name Type Description
geom Geometry
Overrides:
Source: