Mesh: Apply clang-format
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user