Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yuhao Liu
ogs
Commits
3ff45f52
Commit
3ff45f52
authored
8 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[A/U] Clang-reformat for better readability.
parent
ab1e6e7e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Applications/Utils/MeshEdit/MoveMesh.cpp
+5
-4
5 additions, 4 deletions
Applications/Utils/MeshEdit/MoveMesh.cpp
Applications/Utils/MeshEdit/checkMesh.cpp
+3
-3
3 additions, 3 deletions
Applications/Utils/MeshEdit/checkMesh.cpp
with
8 additions
and
7 deletions
Applications/Utils/MeshEdit/MoveMesh.cpp
+
5
−
4
View file @
3ff45f52
...
...
@@ -81,11 +81,12 @@ int main(int argc, char *argv[])
displacement
[
2
]
=
z_arg
.
getValue
();
}
INFO
(
"translate model (%f, %f, %f)."
,
displacement
[
0
],
displacement
[
1
],
displacement
[
2
]);
INFO
(
"translate model (%f, %f, %f)."
,
displacement
[
0
],
displacement
[
1
],
displacement
[
2
]);
MeshLib
::
moveMeshNodes
(
mesh
->
getNodes
().
begin
(),
mesh
->
getNodes
().
end
(),
displacement
);
mesh
->
getNodes
().
begin
(),
mesh
->
getNodes
().
end
(),
displacement
);
std
::
string
out_fname
(
mesh_out_arg
.
getValue
());
if
(
out_fname
.
empty
())
{
...
...
This diff is collapsed.
Click to expand it.
Applications/Utils/MeshEdit/checkMesh.cpp
+
3
−
3
View file @
3ff45f52
...
...
@@ -99,9 +99,9 @@ int main(int argc, char *argv[])
}
if
(
valid_arg
.
isSet
())
{
// Validation
MeshLib
::
MeshValidation
validation
(
*
const_cast
<
MeshLib
::
Mesh
*>
(
mesh
));
// MeshValidation outputs error messages
/* Remark:
MeshValidation
can modify the original
mesh
*/
//
Mesh
Validation
outputs error messages
// Remark:
MeshValidation
can modify the original mesh
MeshLib
::
MeshValidation
validation
(
*
mesh
);
unsigned
const
n_holes
(
MeshLib
::
MeshValidation
::
detectHoles
(
*
mesh
));
if
(
n_holes
>
0
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment