Debian Codegraph @

src/atlas/mesh/actions/BuildConvexHull3D.h

raw
1 /*
2 * (C) Copyright 2013 ECMWF.
3 *
4 * This software is licensed under the terms of the Apache Licence Version 2.0
5 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6 * In applying this licence, ECMWF does not waive the privileges and immunities
7 * granted to it by virtue of its status as an intergovernmental organisation
8 * nor does it submit to any jurisdiction.
9 */
10
11 #pragma once
12
13 #include "eckit/config/Parametrisation.h"
14
15 #include "atlas/util/Config.h"
16
17 namespace atlas {
18
19 class Mesh;
20
21 namespace mesh {
22 namespace actions {
23
24 /// Creates a 3D convex-hull on the mesh points
25 class BuildConvexHull3D {
26 public:
27 BuildConvexHull3D(const eckit::Parametrisation& = util::NoConfig());
28 void operator()(Mesh&) const;
29 private:
30 bool remove_duplicate_points_;
31 };
32
33 } // namespace actions
34 } // namespace mesh
35 } // namespace atlas