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
0b030906
Commit
0b030906
authored
Jan 23, 2018
by
Alexander Dielen
Browse files
return numpy arrays by default
parent
a05d87f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Mesh.hh
View file @
0b030906
...
...
@@ -645,8 +645,8 @@ void expose_mesh(py::module& m, const char *_name) {
.
def
(
"halfedge_handle"
,
halfedge_handle_fh
)
.
def
(
"set_halfedge_handle"
,
set_halfedge_handle_fh_hh
)
.
def
(
"point"
,
point_vh
,
OPENMESH_PYTHON_DEFAULT_POLICY
)
.
def
(
"set_point"
,
&
Mesh
::
set_point
)
.
def
(
"point
_vec
"
,
point_vh
,
OPENMESH_PYTHON_DEFAULT_POLICY
)
.
def
(
"set_point
_vec
"
,
&
Mesh
::
set_point
)
.
def
(
"normal"
,
normal_vh
,
OPENMESH_PYTHON_DEFAULT_POLICY
)
.
def
(
"set_normal"
,
set_normal_vh
)
.
def
(
"normal"
,
normal_hh
,
OPENMESH_PYTHON_DEFAULT_POLICY
)
...
...
@@ -925,8 +925,8 @@ void expose_mesh(py::module& m, const char *_name) {
// numpy
//======================================================================
.
def
(
"point
_np
"
,
&
point_np
<
Mesh
>
)
.
def
(
"points
_np
"
,
&
points_np
<
Mesh
>
)
.
def
(
"point"
,
&
point_np
<
Mesh
>
)
.
def
(
"points"
,
&
points_np
<
Mesh
>
)
;
expose_type_specific_functions
(
class_mesh
);
...
...
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