Class: LinearComponentExtracter

jsts.geom.util.LinearComponentExtracter

new LinearComponentExtracter()

Extracts all the 1-dimensional (LineString) components from a Geometry.
Source:

Extends

Methods

(static) getLines(geoms, lines)

Extracts the linear components from a single Geometry and adds them to the provided Collection. NOTE: will call "overloaded" function depending on args.
Parameters:
Name Type Description
geoms
lines
Source:
Returns:

(static) getLines2(geoms, lines, forceToLineString)

Extracts the linear components from a single Geometry and adds them to the provided Collection.
Parameters:
Name Type Description
geoms
lines
forceToLineString boolean true if LinearRings should be converted to LineStrings.
Source:
Returns:

(static) getLines3(geom, lines)

Extracts the linear components from a single Geometry and adds them to the provided Collection.
Parameters:
Name Type Description
geom Geometry the geometry from which to extract linear components.
lines
Source:
Returns:

(static) getLines4(geom, lines, forceToLineString)

Extracts the linear components from a single Geometry and adds them to the provided Collection.
Parameters:
Name Type Description
geom Geometry the geometry from which to extract linear components.
lines
forceToLineString boolean true if LinearRings should be converted to LineStrings.
Source:
Returns:

(static) getLines5(geom)

Extracts the linear components from a single geometry. If more than one geometry is to be processed, it is more efficient to create a single LinearComponentExtracter instance and pass it to multiple geometries.
Parameters:
Name Type Description
geom Geometry the geometry from which to extract linear components.
Source:
Returns:

(static) getLines6(geom, forceToLineString)

Extracts the linear components from a single geometry. If more than one geometry is to be processed, it is more efficient to create a single LinearComponentExtracter instance and pass it to multiple geometries.
Parameters:
Name Type Description
geom Geometry the geometry from which to extract linear components.
forceToLineString boolean true if LinearRings should be converted to LineStrings.
Source:
Returns:

filter(geom)

Performs an operation with or on geom.
Parameters:
Name Type Description
geom Geometry a Geometry to which the filter is applied.
Overrides:
Source:

setForceToLineString(isForcedToLineString)

Indicates that LinearRing components should be converted to pure LineStrings.
Parameters:
Name Type Description
isForcedToLineString boolean true if LinearRings should be converted to LineStrings.
Source: