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:
-
geom - geom the geometry from which to extract linear components
-
forceToLineString - forceToLineString true if LinearRings should be converted to LineStrings
-
Returns:
-
the list of linear components