GEOS 3.15.0dev
CoverageEdges.h
1/**********************************************************************
2 *
3 * GEOS - Geometry Engine Open Source
4 * http://geos.osgeo.org
5 *
6 * Copyright (C) 2026 Paul Ramsey <pramsey@cleverelephant.ca>
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 <memory>
19#include <vector>
20
21// Forward declarations
22namespace geos {
23namespace geom {
24class Geometry;
25}
26}
27
28namespace geos { // geos
29namespace coverage { // geos::coverage
30
37class GEOS_DLL CoverageEdges {
38public:
39
47 static std::unique_ptr<geom::Geometry> GetEdges(const std::vector<const geom::Geometry*>& coverage, int type = 0);
48
56 static std::unique_ptr<geom::Geometry> GetEdges(const geom::Geometry* coverage, int type = 0);
57
58};
59
60} // namespace geos::coverage
61} // namespace geos
Definition CoverageEdges.h:37
static std::unique_ptr< geom::Geometry > GetEdges(const std::vector< const geom::Geometry * > &coverage, int type=0)
static std::unique_ptr< geom::Geometry > GetEdges(const geom::Geometry *coverage, int type=0)
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:196
Basic namespace for all GEOS functionalities.
Definition geos.h:38