getLines static method

List<Geometry> getLines(
  1. Geometry 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 {@link LinearComponentExtracter} instance and pass it to multiple geometries.

@param geom the geometry from which to extract linear components @return the list of linear components

Implementation

static List<Geometry> getLines(Geometry geom) {
  return getLinesGF(geom, false);
}