13#ifndef GDALALG_VECTOR_CONCAVE_HULL_INCLUDED
14#define GDALALG_VECTOR_CONCAVE_HULL_INCLUDED
16#include "gdalalg_vector_geom.h"
20class GDALVectorConcaveHullAlgorithm
21 :
public GDALVectorGeomAbstractAlgorithm
24 static constexpr const char *NAME =
"concave-hull";
25 static constexpr const char *DESCRIPTION =
26 "Compute the concave hull of geometries of a vector dataset.";
27 static constexpr const char *HELP_URL =
28 "/programs/gdal_vector_concave_hull.html";
30 struct Options :
public GDALVectorGeomAbstractAlgorithm::OptionsBase
33 bool m_allowHoles =
false;
37 std::unique_ptr<OGRLayerWithTranslateFeature>
38 CreateAlgLayer(
OGRLayer &srcLayer)
override;
40 explicit GDALVectorConcaveHullAlgorithm(
bool standaloneStep =
false);
43 bool RunStep(GDALPipelineStepRunContext &ctxt)
override;
48class GDALVectorConcaveHullAlgorithmStandalone final
49 :
public GDALVectorConcaveHullAlgorithm
52 GDALVectorConcaveHullAlgorithmStandalone()
53 : GDALVectorConcaveHullAlgorithm( true)
57 ~GDALVectorConcaveHullAlgorithmStandalone()
override;
This class represents a layer of simple features, with access methods.
Definition ogrsf_frmts.h:61