Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
openmesh-python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenMesh
openmesh-python
Commits
c82247fa
Commit
c82247fa
authored
Jan 24, 2018
by
Alexander Dielen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing add_vertex overload
parent
7a27451d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/Mesh.hh
src/Mesh.hh
+2
-0
No files found.
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
Markdown
is supported
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