GEOS 3.15.0beta1
geos::geom::util::LinealExtracter Class Reference

Extracts the lineal (LineString/LinearRing/CircularString/CompoundCurve/MultiLineString/MultiCurve) elements from a Geometry. More...

#include <LinealExtracter.h>

Public Member Functions

 LinealExtracter (const LinealExtracter &other)=delete
LinealExtracter & operator= (const LinealExtracter &rhs)=delete

Static Public Member Functions

static void getLineals (const Geometry &geom, std::vector< const Geometry * > &lineals)
static void getLineals (const Geometry *geom, std::vector< const Geometry * > &lineals)

Detailed Description

Extracts the lineal (LineString/LinearRing/CircularString/CompoundCurve/MultiLineString/MultiCurve) elements from a Geometry.

Member Function Documentation

◆ getLineals()

void geos::geom::util::LinealExtracter::getLineals ( const Geometry & geom,
std::vector< const Geometry * > & lineals )
static

Pushes the lineal elements from a geometry into the provided vector.

Parameters
geomthe geometry to extract from
linealsthe vector to add the polygonal elements to

References getLineals().

Referenced by getLineals().


The documentation for this class was generated from the following file: