GEOS 3.15.0dev
Public Member Functions | Static Public Member Functions | List of all members
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
 
LinealExtracteroperator= (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()

static 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

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