Mesh: Apply clang-format

This commit is contained in:
wmayer
2023-09-22 19:59:39 +02:00
committed by wwmayer
parent 70ba930230
commit 23db389a76
116 changed files with 15683 additions and 12447 deletions

View File

@@ -23,9 +23,9 @@
#ifndef MESH_FEATURE_H
#define MESH_FEATURE_H
#include <App/GeoFeature.h> // must be before FeatureCustom.h
#include <App/FeatureCustom.h>
#include <App/FeaturePython.h>
#include <App/GeoFeature.h> // must be before FeatureCustom.h
#include "Core/MeshKernel.h"
@@ -33,13 +33,15 @@
#include "MeshProperties.h"
namespace Base{
class XMLReader;
class Writer;
}
namespace Base
{
class XMLReader;
class Writer;
} // namespace Base
namespace MeshCore {
class MeshKernel;
namespace MeshCore
{
class MeshKernel;
}
namespace Mesh
@@ -52,7 +54,7 @@ class MeshFeaturePy;
* This class holds a MeshKernel object.
* \author Werner Mayer
*/
class MeshExport Feature : public App::GeoFeature
class MeshExport Feature: public App::GeoFeature
{
PROPERTY_HEADER_WITH_OVERRIDE(Mesh::Feature);
@@ -69,15 +71,17 @@ public:
/** @name methods override Feature */
//@{
/// recalculate the Feature
App::DocumentObjectExecReturn *execute() override;
App::DocumentObjectExecReturn* execute() override;
void onChanged(const App::Property* prop) override;
//@}
/// returns the type name of the ViewProvider
const char* getViewProviderName() const override {
const char* getViewProviderName() const override
{
return "MeshGui::ViewProviderMeshFaceSet";
}
const App::PropertyComplexGeoData* getPropertyOfGeometry() const override {
const App::PropertyComplexGeoData* getPropertyOfGeometry() const override
{
return &Mesh;
}
@@ -88,8 +92,7 @@ public:
using FeatureCustom = App::FeatureCustomT<Feature>;
using FeaturePython = App::FeaturePythonT<Feature>;
} //namespace Mesh
} // namespace Mesh
#endif