GEOS
3.15.0dev
include
geos
geom
util
LinealExtracter.h
1
/**********************************************************************
2
*
3
* GEOS - Geometry Engine Open Source
4
* http://geos.osgeo.org
5
*
6
* Copyright (C) 2026 ISciences LLC
7
*
8
* This is free software; you can redistribute and/or modify it under
9
* the terms of the GNU Lesser General Public Licence as published
10
* by the Free Software Foundation.
11
* See the COPYING file for more information.
12
*
13
**********************************************************************/
14
15
#pragma once
16
17
#include <geos/export.h>
18
#include <geos/geom/Geometry.h>
19
#include <vector>
20
21
namespace
geos
{
22
namespace
geom {
// geos.geom
23
namespace
util {
// geos.geom.util
24
29
class
GEOS_DLL
LinealExtracter
{
30
31
public
:
32
39
static
void
getLineals
(
const
Geometry
& geom, std::vector<const Geometry*>& lineals);
40
41
static
void
getLineals(
const
Geometry
* geom, std::vector<const Geometry*>& lineals);
42
43
// Declare type as noncopyable
44
LinealExtracter
(
const
LinealExtracter
& other) =
delete
;
45
LinealExtracter
& operator=(
const
LinealExtracter
& rhs) =
delete
;
46
};
47
48
}
// namespace geos.geom.util
49
}
// namespace geos.geom
50
}
// namespace geos
51
geos::geom::Geometry
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition
Geometry.h:196
geos::geom::util::LinealExtracter
Extracts the lineal (LineString/LinearRing/CircularString/CompoundCurve/MultiLineString/MultiCurve) e...
Definition
LinealExtracter.h:29
geos::geom::util::LinealExtracter::getLineals
static void getLineals(const Geometry &geom, std::vector< const Geometry * > &lineals)
geos
Basic namespace for all GEOS functionalities.
Definition
geos.h:38
Generated by
1.9.8