GEOS 3.15.0dev
Public Member Functions | Static Public Member Functions | List of all members
geos::geom::util::SurfaceExtracter Class Reference

#include <SurfaceExtracter.h>

Inheritance diagram for geos::geom::util::SurfaceExtracter:
geos::geom::GeometryFilter

Public Member Functions

 SurfaceExtracter (std::vector< const Surface * > &newComps)
 
void filter_rw (Geometry *geom) override
 
void filter_ro (const Geometry *geom) override
 

Static Public Member Functions

static void getSurfaces (const Geometry &geom, std::vector< const Surface * > &ret)
 

Detailed Description

Extracts all the 2-dimensional (Surface) components from a Geometry.

Constructor & Destructor Documentation

◆ SurfaceExtracter()

geos::geom::util::SurfaceExtracter::SurfaceExtracter ( std::vector< const Surface * > &  newComps)

Constructs a SurfaceExtracter with a list in which to store Surfaces found.

Member Function Documentation

◆ filter_ro()

void geos::geom::util::SurfaceExtracter::filter_ro ( const Geometry geom)
overridevirtual

Reimplemented from geos::geom::GeometryFilter.

◆ filter_rw()

void geos::geom::util::SurfaceExtracter::filter_rw ( Geometry geom)
overridevirtual

Reimplemented from geos::geom::GeometryFilter.

◆ getSurfaces()

static void geos::geom::util::SurfaceExtracter::getSurfaces ( const Geometry geom,
std::vector< const Surface * > &  ret 
)
static

Pushes the Surface components from a single geometry into the provided vector.


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