Merge branch 'python_bindings' of https://github.com/s-koch/libigl

Former-commit-id: 1dc17bb6c8
This commit is contained in:
Daniele Panozzo
2016-10-19 09:19:17 -04:00
28 changed files with 1001 additions and 31 deletions
+26 -6
View File
@@ -30,12 +30,16 @@ extern void python_export_igl_triangle(py::module &);
extern void python_export_igl_cgal(py::module &);
#endif
#ifdef PY_COPYLEFT
extern void python_export_igl_copyleft(py::module &);
#endif
#ifdef PY_PNG
extern void python_export_igl_png(py::module &);
#endif
#ifdef PY_COPYLEFT
extern void python_export_igl_copyleft(py::module &);
#ifdef PY_BBW
extern void python_export_igl_bbw(py::module &);
#endif
PYBIND11_PLUGIN(pyigl) {
@@ -57,11 +61,14 @@ PYBIND11_PLUGIN(pyigl) {
avg_edge_length
barycenter
barycentric_coordinates
bbw_bbw
boundary_conditions
boundary_facets
boundary_loop
cat
collapse_edge
colon
column_to_quats
comb_cross_field
comb_frame_field
compute_frame_field_bisectors
@@ -77,7 +84,11 @@ PYBIND11_PLUGIN(pyigl) {
covariance_scatter_matrix
cross_field_missmatch
cut_mesh_from_singularities
deform_skeleton
directed_edge_orientations
directed_edge_parents
doublearea
dqs
edge_lengths
edge_topology
eigs
@@ -86,6 +97,7 @@ PYBIND11_PLUGIN(pyigl) {
find_cross_field_singularities
fit_rotations
floor
forward_kinematics
gaussian_curvature
get_seconds
grad
@@ -95,12 +107,15 @@ PYBIND11_PLUGIN(pyigl) {
invert_diag
is_irregular_vertex
jet
lbs_matrix
local_basis
lscm
map_vertices_to_circle
massmatrix
min_quad_with_fixed
n_polyvector
normalize_row_lengths
normalize_row_sums
parula
per_corner_normals
per_edge_normals
@@ -118,6 +133,7 @@ PYBIND11_PLUGIN(pyigl) {
readMESH
readOBJ
readOFF
readTGF
read_triangle_mesh
remove_duplicate_vertices
rotate_vectors
@@ -168,13 +184,17 @@ PYBIND11_PLUGIN(pyigl) {
python_export_igl_cgal(m);
#endif
#ifdef PY_PNG
python_export_igl_png(m);
#endif
#ifdef PY_COPYLEFT
python_export_igl_copyleft(m);
#endif
#ifdef PY_PNG
python_export_igl_png(m);
#endif
#ifdef PY_BBW
python_export_igl_bbw(m);
#endif
return m.ptr();
}