Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
b303f73f
Commit
b303f73f
authored
Apr 26, 2017
by
Jan Möbius
Browse files
Added boundary split test case
parent
986f98f0
Pipeline
#4850
failed with stage
in 106 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/Unittests/unittests_trimesh_split.cc
View file @
b303f73f
...
...
@@ -100,13 +100,21 @@ TEST_F(OpenMeshSplitTriangleMesh, Split_Triangle_Mesh_1_4) {
EXPECT_EQ
(
4u
,
mesh_
.
n_faces
());
// split face
with new vertex
// split face
in center (non-boundary case)
mesh_
.
split
(
to_split
);
mesh_
.
garbage_collection
();
EXPECT_EQ
(
10u
,
mesh_
.
n_faces
());
Mesh
::
FaceHandle
boundary_split
=
mesh_
.
face_handle
(
0
);
// split face at boundary
mesh_
.
split
(
boundary_split
);
mesh_
.
garbage_collection
();
EXPECT_EQ
(
15u
,
mesh_
.
n_faces
());
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment