Skip to content
GitLab
Menu
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
2884ef83
Commit
2884ef83
authored
Apr 16, 2018
by
Christian Mattes
Browse files
Fixed wrong mesh type used in unittest
parent
f1a565e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Unittests/unittests_tutorials.cc
View file @
2884ef83
...
...
@@ -619,20 +619,20 @@ TEST_F(OpenMeshTutorials, deleting_geometry_elements) {
mesh
.
request_vertex_status
();
// generate vertices
My
Mesh
WithStatus
::
VertexHandle
vhandle
[
8
];
My
Mesh
WithStatus
::
FaceHandle
fhandle
[
6
];
vhandle
[
0
]
=
mesh
.
add_vertex
(
My
Mesh
WithStatus
::
Point
(
-
1
,
-
1
,
1
));
vhandle
[
1
]
=
mesh
.
add_vertex
(
My
Mesh
WithStatus
::
Point
(
1
,
-
1
,
1
));
vhandle
[
2
]
=
mesh
.
add_vertex
(
My
Mesh
WithStatus
::
Point
(
1
,
1
,
1
));
vhandle
[
3
]
=
mesh
.
add_vertex
(
My
Mesh
WithStatus
::
Point
(
-
1
,
1
,
1
));
vhandle
[
4
]
=
mesh
.
add_vertex
(
My
Mesh
WithStatus
::
Point
(
-
1
,
-
1
,
-
1
));
vhandle
[
5
]
=
mesh
.
add_vertex
(
My
Mesh
WithStatus
::
Point
(
1
,
-
1
,
-
1
));
vhandle
[
6
]
=
mesh
.
add_vertex
(
My
Mesh
WithStatus
::
Point
(
1
,
1
,
-
1
));
vhandle
[
7
]
=
mesh
.
add_vertex
(
My
Mesh
WithStatus
::
Point
(
-
1
,
1
,
-
1
));
Mesh
::
VertexHandle
vhandle
[
8
];
Mesh
::
FaceHandle
fhandle
[
6
];
vhandle
[
0
]
=
mesh
.
add_vertex
(
Mesh
::
Point
(
-
1
,
-
1
,
1
));
vhandle
[
1
]
=
mesh
.
add_vertex
(
Mesh
::
Point
(
1
,
-
1
,
1
));
vhandle
[
2
]
=
mesh
.
add_vertex
(
Mesh
::
Point
(
1
,
1
,
1
));
vhandle
[
3
]
=
mesh
.
add_vertex
(
Mesh
::
Point
(
-
1
,
1
,
1
));
vhandle
[
4
]
=
mesh
.
add_vertex
(
Mesh
::
Point
(
-
1
,
-
1
,
-
1
));
vhandle
[
5
]
=
mesh
.
add_vertex
(
Mesh
::
Point
(
1
,
-
1
,
-
1
));
vhandle
[
6
]
=
mesh
.
add_vertex
(
Mesh
::
Point
(
1
,
1
,
-
1
));
vhandle
[
7
]
=
mesh
.
add_vertex
(
Mesh
::
Point
(
-
1
,
1
,
-
1
));
// generate (quadrilateral) faces
std
::
vector
<
My
Mesh
::
VertexHandle
>
tmp_face_vhandles
;
std
::
vector
<
Mesh
::
VertexHandle
>
tmp_face_vhandles
;
tmp_face_vhandles
.
clear
();
tmp_face_vhandles
.
push_back
(
vhandle
[
0
]);
tmp_face_vhandles
.
push_back
(
vhandle
[
1
]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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