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-python
Commits
c82247fa
Commit
c82247fa
authored
Jan 24, 2018
by
Alexander Dielen
Browse files
added missing add_vertex overload
parent
7a27451d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Mesh.hh
View file @
c82247fa
...
...
@@ -865,6 +865,8 @@ void expose_mesh(py::module& m, const char *_name) {
.
def
(
"split_edge_copy"
,
&
Mesh
::
split_edge_copy
)
.
def
(
"add_vertex"
,
&
Mesh
::
add_vertex
)
.
def
(
"add_vertex"
,
[](
Mesh
&
_self
,
py
::
array_t
<
typename
Point
::
value_type
>
_arr
)
{
return
_self
.
add_vertex
(
Point
(
_arr
.
at
(
0
),
_arr
.
at
(
1
),
_arr
.
at
(
2
)));
})
.
def
(
"is_collapse_ok"
,
&
Mesh
::
is_collapse_ok
)
.
def
(
"delete_vertex"
,
delete_vertex
,
py
::
arg
(
"vh"
),
py
::
arg
(
"delete_isolated_vertices"
)
=
true
)
...
...
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