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

@@ -38,14 +38,14 @@ TransformDemolding::TransformDemolding()
ADD_PROPERTY(Axis, (0.0, 0.0, 1.0));
}
App::DocumentObjectExecReturn *TransformDemolding::execute()
App::DocumentObjectExecReturn* TransformDemolding::execute()
{ /*
Feature *pcFirst = dynamic_cast<Feature*>(Source.getValue());
if (!pcFirst || pcFirst->isError())
return new App::DocumentObjectExecReturn("Unknown Error");
MeshCore::MeshKernel* pcKernel = new MeshCore::MeshKernel(pcFirst->Mesh.getValue()); // Result Meshkernel
Base::Matrix4D trans(Base::Vector3f(0, 0, 0), Axis.getValue(), Rotation.getValue());
MeshCore::MeshKernel* pcKernel = new MeshCore::MeshKernel(pcFirst->Mesh.getValue()); // Result
Meshkernel Base::Matrix4D trans(Base::Vector3f(0, 0, 0), Axis.getValue(), Rotation.getValue());
//Matrix4D trans;
//trans.rotLine(Axis.getValue(), Rotation.getValue());
pcKernel->Transform(trans);
@@ -53,4 +53,3 @@ App::DocumentObjectExecReturn *TransformDemolding::execute()
*/
return App::DocumentObject::StdReturn;
}