17 #ifndef GEOS_GEOM_UTIL_LINEARCOMPONENTEXTRACTER_H
18 #define GEOS_GEOM_UTIL_LINEARCOMPONENTEXTRACTER_H
21 #include <geos/export.h>
24 #include <geos/geom/GeometryComponentFilter.h>
25 #include <geos/geom/Geometry.h>
26 #include <geos/geom/LineString.h>
54 static void getLines(
const Geometry &geom, std::vector<const LineString*> &ret)
71 if (
const LineString *ls=dynamic_cast<const LineString *>(geom) )
77 if (
const LineString *ls=dynamic_cast<const LineString *>(geom) )