Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
openmesh-python
Commits
56c54adb
Commit
56c54adb
authored
Jun 09, 2018
by
Alexander Dielen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing ArrayKernel functions
parent
3d6daafc
Pipeline
#7183
passed with stages
in 5 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/Mesh.hh
src/Mesh.hh
+14
-0
No files found.
src/Mesh.hh
View file @
56c54adb
...
...
@@ -814,6 +814,20 @@ void expose_mesh(py::module& m, const char *_name) {
.
def
(
"copy_all_properties"
,
copy_all_properties_fh_fh_bool
,
py
::
arg
(
"fh_from"
),
py
::
arg
(
"fh_to"
),
py
::
arg
(
"copy_build_in"
)
=
false
)
//======================================================================
// ArrayKernel
//======================================================================
.
def
(
"is_valid_handle"
,
(
bool
(
Mesh
::*
)(
OM
::
VertexHandle
)
const
)
&
Mesh
::
is_valid_handle
)
.
def
(
"is_valid_handle"
,
(
bool
(
Mesh
::*
)(
OM
::
HalfedgeHandle
)
const
)
&
Mesh
::
is_valid_handle
)
.
def
(
"is_valid_handle"
,
(
bool
(
Mesh
::*
)(
OM
::
EdgeHandle
)
const
)
&
Mesh
::
is_valid_handle
)
.
def
(
"is_valid_handle"
,
(
bool
(
Mesh
::*
)(
OM
::
FaceHandle
)
const
)
&
Mesh
::
is_valid_handle
)
.
def
(
"delete_isolated_vertices"
,
[](
Mesh
&
_self
)
{
if
(
!
_self
.
has_vertex_status
())
_self
.
request_vertex_status
();
_self
.
delete_isolated_vertices
();
})
//======================================================================
// PolyConnectivity
//======================================================================
...
...
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