From db8ccfab046f8de0bfbc8d62b1598e8a599da42f Mon Sep 17 00:00:00 2001 From: Alec Jacobson Date: Sat, 11 Feb 2023 12:58:18 -0500 Subject: [PATCH] remove all dense_longlong occurances --- src/active_set.cpp | 2 +- src/adjacency_list.cpp | 2 +- src/adjacency_matrix.cpp | 2 +- src/ambient_occlusion.cpp | 2 +- src/arap_linear_block.cpp | 8 ++++---- src/arap_rhs.cpp | 2 +- src/average_onto_faces.cpp | 2 +- src/average_onto_vertices.cpp | 2 +- src/avg_edge_length.cpp | 2 +- src/barycenter.cpp | 2 +- src/bfs_orient.cpp | 2 +- src/biharmonic_coordinates.cpp | 2 +- src/bijective_composite_harmonic_mapping.cpp | 4 ++-- src/blue_noise.cpp | 2 +- src/bone_parents.cpp | 2 +- src/boundary_conditions.cpp | 2 +- src/boundary_facets.cpp | 2 +- src/boundary_loop.cpp | 4 ++-- src/circulation.cpp | 2 +- src/circumradius.cpp | 2 +- src/collapse_small_triangles.cpp | 2 +- src/comb_cross_field.cpp | 2 +- src/comb_frame_field.cpp | 2 +- src/comb_line_field.cpp | 2 +- src/compute_frame_field_bisectors.cpp | 4 ++-- src/connect_boundary_to_infinity.cpp | 6 +++--- src/copyleft/cgal/intersect_other.cpp | 2 +- src/copyleft/cgal/mesh_boolean.cpp | 2 +- src/copyleft/cgal/remesh_self_intersections.cpp | 2 +- src/cotmatrix.cpp | 2 +- src/cotmatrix_entries.cpp | 2 +- src/cotmatrix_intrinsic.cpp | 2 +- src/cross_field_missmatch.cpp | 2 +- src/crouzeix_raviart_cotmatrix.cpp | 4 ++-- src/crouzeix_raviart_massmatrix.cpp | 4 ++-- src/cut_mesh.cpp | 2 +- src/cut_mesh_from_singularities.cpp | 2 +- src/cut_to_disk.cpp | 2 +- src/decimate.cpp | 2 +- src/deform_skeleton.cpp | 2 +- src/dihedral_angles.cpp | 2 +- src/direct_delta_mush.cpp | 2 +- src/directed_edge_orientations.cpp | 2 +- src/directed_edge_parents.cpp | 2 +- src/doublearea.cpp | 2 +- src/ears.cpp | 2 +- src/edge_collapse_is_valid.cpp | 2 +- src/edge_flaps.cpp | 2 +- src/edge_lengths.cpp | 2 +- src/edge_topology.cpp | 2 +- src/edges.cpp | 2 +- src/edges_to_path.cpp | 2 +- src/euler_characteristic.cpp | 4 ++-- src/exact_geodesic.cpp | 2 +- src/exterior_edges.cpp | 2 +- src/extract_manifold_patches.cpp | 2 +- src/extract_non_manifold_edge_curves.cpp | 2 +- src/face_occurrences.cpp | 2 +- src/faces_first.cpp | 2 +- src/facet_components.cpp | 2 +- src/false_barycentric_subdivision.cpp | 2 +- src/fast_winding_number.cpp | 2 +- src/find_cross_field_singularities.cpp | 4 ++-- src/flip_edge.cpp | 2 +- src/flipped_triangles.cpp | 2 +- src/forward_kinematics.cpp | 2 +- src/gaussian_curvature.cpp | 2 +- src/grad.cpp | 2 +- src/grad_intrinsic.cpp | 2 +- src/harmonic.cpp | 8 ++++---- src/hausdorff.cpp | 2 +- src/heat_geodesic.cpp | 2 +- src/hessian.cpp | 2 +- src/hessian_energy.cpp | 2 +- src/inradius.cpp | 2 +- src/internal_angles.cpp | 2 +- src/intrinsic_delaunay_cotmatrix.cpp | 2 +- src/intrinsic_delaunay_triangulation.cpp | 4 ++-- src/is_border_vertex.cpp | 2 +- src/is_delaunay.cpp | 2 +- src/is_edge_manifold.cpp | 2 +- src/is_intrinsic_delaunay.cpp | 2 +- src/is_irregular_vertex.cpp | 2 +- src/isolines.cpp | 2 +- src/iterative_closest_point.cpp | 2 +- src/loop.cpp | 4 ++-- src/lscm.cpp | 2 +- src/map_vertices_to_circle.cpp | 2 +- src/marching_tets.cpp | 2 +- src/massmatrix.cpp | 2 +- src/massmatrix_intrinsic.cpp | 2 +- src/min_quad_with_fixed.cpp | 2 +- src/moments.cpp | 2 +- src/normal_derivative.cpp | 2 +- src/offset_surface.cpp | 2 +- src/orient_outward.cpp | 2 +- src/orientable_patches.cpp | 2 +- src/oriented_facets.cpp | 2 +- src/outer_element.cpp | 6 +++--- src/path_to_edges.cpp | 2 +- src/per_corner_normals.cpp | 2 +- src/per_edge_normals.cpp | 2 +- src/per_face_normals.cpp | 2 +- src/per_vertex_attribute_smoothing.cpp | 2 +- src/per_vertex_normals.cpp | 2 +- src/piecewise_constant_winding_number.cpp | 2 +- src/point_mesh_squared_distance.cpp | 2 +- src/point_simplex_squared_distance.cpp | 2 +- src/principal_curvature.cpp | 2 +- src/project_isometrically_to_plane.cpp | 2 +- src/qslim.cpp | 2 +- src/quad_planarity.cpp | 2 +- src/random_points_on_mesh.cpp | 2 +- src/ray_mesh_intersect.cpp | 2 +- src/remove_duplicate_vertices.cpp | 2 +- src/remove_duplicates.cpp | 2 +- src/remove_unreferenced.cpp | 2 +- src/resolve_duplicated_faces.cpp | 2 +- src/sample_edges.cpp | 2 +- src/shape_diameter_function.cpp | 2 +- src/sharp_edges.cpp | 2 +- src/signed_distance.cpp | 2 +- src/simplify_polyhedron.cpp | 2 +- src/topological_hole_fill.cpp | 4 ++-- src/triangle_fan.cpp | 2 +- src/triangle_triangle_adjacency.cpp | 2 +- src/triangles_from_strip.cpp | 2 +- src/uniformly_sample_two_manifold.cpp | 2 +- src/unique_edge_map.cpp | 2 +- src/unique_simplices.cpp | 2 +- src/unproject_in_mesh.cpp | 2 +- src/unproject_onto_mesh.cpp | 2 +- src/upsample.cpp | 2 +- src/vector_area_matrix.cpp | 2 +- src/vertex_components.cpp | 2 +- src/vertex_triangle_adjacency.cpp | 2 +- src/volume.cpp | 2 +- src/winding_number.cpp | 4 ++-- src/writeDMAT.cpp | 2 +- src/writeOBJ.cpp | 2 +- src/writeOFF.cpp | 4 ++-- src/write_triangle_mesh.cpp | 2 +- 142 files changed, 164 insertions(+), 164 deletions(-) diff --git a/src/active_set.cpp b/src/active_set.cpp index 526f5fbd..2b6964f2 100644 --- a/src/active_set.cpp +++ b/src/active_set.cpp @@ -50,7 +50,7 @@ npe_function(active_set) npe_doc(ds_active_set) npe_arg(A, sparse_float, sparse_double) npe_arg(B, dense_float, dense_double) -npe_arg(known, dense_int, dense_long, dense_longlong) +npe_arg(known, dense_int, dense_long) npe_arg(Y, npe_matches(B)) npe_arg(Aeq, npe_matches(A)) npe_arg(Beq, npe_matches(B)) diff --git a/src/adjacency_list.cpp b/src/adjacency_list.cpp index 4ae59e45..af77d123 100644 --- a/src/adjacency_list.cpp +++ b/src/adjacency_list.cpp @@ -30,7 +30,7 @@ Examples npe_function(adjacency_list) npe_doc(ds_adjacency_list) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh_faces(f, "f"); std::vector> a; diff --git a/src/adjacency_matrix.cpp b/src/adjacency_matrix.cpp index 1b130cda..8ddd74c5 100644 --- a/src/adjacency_matrix.cpp +++ b/src/adjacency_matrix.cpp @@ -39,7 +39,7 @@ Examples npe_function(adjacency_matrix) npe_doc(ds_adjacency_matrix) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_simplex_idxs(f, "f"); diff --git a/src/ambient_occlusion.cpp b/src/ambient_occlusion.cpp index 8f5f853c..e80e5f23 100644 --- a/src/ambient_occlusion.cpp +++ b/src/ambient_occlusion.cpp @@ -35,7 +35,7 @@ npe_function(ambient_occlusion) npe_doc(ds_ambient_occlusion) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(p, dense_float, dense_double) npe_arg(n, npe_matches(p)) npe_arg(num_samples, int) diff --git a/src/arap_linear_block.cpp b/src/arap_linear_block.cpp index fb4f9d5c..e33a9936 100644 --- a/src/arap_linear_block.cpp +++ b/src/arap_linear_block.cpp @@ -49,7 +49,7 @@ Examples npe_function(arap_linear_block) npe_doc(ds_arap_linear_block) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(d, int) npe_arg(energy, int) npe_begin_code() @@ -83,7 +83,7 @@ npe_end_code() npe_function(arap_linear_block_spokes) npe_doc(ds_arap_linear_block) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(d, int) npe_begin_code() @@ -101,7 +101,7 @@ npe_end_code() npe_function(arap_linear_block_spokes_and_rims) npe_doc(ds_arap_linear_block) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(d, int) npe_begin_code() @@ -120,7 +120,7 @@ npe_end_code() npe_function(arap_linear_block_elements) npe_doc(ds_arap_linear_block) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(d, int) npe_begin_code() diff --git a/src/arap_rhs.cpp b/src/arap_rhs.cpp index 875eb5e4..2482c66c 100644 --- a/src/arap_rhs.cpp +++ b/src/arap_rhs.cpp @@ -36,7 +36,7 @@ Examples npe_function(arap_rhs) npe_doc(ds_arap_rhs) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(d, int) npe_arg(energy, int) npe_begin_code() diff --git a/src/average_onto_faces.cpp b/src/average_onto_faces.cpp index aa024f86..f56328db 100644 --- a/src/average_onto_faces.cpp +++ b/src/average_onto_faces.cpp @@ -30,7 +30,7 @@ Examples npe_function(average_onto_faces) npe_doc(doccc_faces_avg) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(s, dense_float, dense_double) diff --git a/src/average_onto_vertices.cpp b/src/average_onto_vertices.cpp index 59870b8d..5c380856 100644 --- a/src/average_onto_vertices.cpp +++ b/src/average_onto_vertices.cpp @@ -31,7 +31,7 @@ Examples npe_function(average_onto_vertices) npe_doc(ds_average_onto_vertices) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(s, dense_float, dense_double) // TODO: Maybe do a matches here npe_begin_code() assert_valid_tet_or_tri_mesh_23d(v, f); diff --git a/src/avg_edge_length.cpp b/src/avg_edge_length.cpp index 33e7333d..fd8e406e 100644 --- a/src/avg_edge_length.cpp +++ b/src/avg_edge_length.cpp @@ -31,7 +31,7 @@ Examples npe_function(avg_edge_length) npe_doc(ds_avg_edge_length) npe_arg(v, dense_double, dense_float) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh(v, f); diff --git a/src/barycenter.cpp b/src/barycenter.cpp index f355cd3e..323a48a3 100644 --- a/src/barycenter.cpp +++ b/src/barycenter.cpp @@ -32,7 +32,7 @@ npe_function(barycenter) npe_doc(ds_barycenter) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh_23d(v, f); EigenDenseLike bc; diff --git a/src/bfs_orient.cpp b/src/bfs_orient.cpp index 6a18c933..0f1d4f92 100644 --- a/src/bfs_orient.cpp +++ b/src/bfs_orient.cpp @@ -31,7 +31,7 @@ Examples npe_function(bfs_orient) npe_doc(ds_bfs_orient) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tri_mesh_faces(f); diff --git a/src/biharmonic_coordinates.cpp b/src/biharmonic_coordinates.cpp index f889de38..4f20ddc0 100644 --- a/src/biharmonic_coordinates.cpp +++ b/src/biharmonic_coordinates.cpp @@ -80,7 +80,7 @@ npe_function(biharmonic_coordinates) npe_doc(ds_biharmonic_coordinates) npe_arg(v, dense_float, dense_double) -npe_arg(t, dense_int, dense_long, dense_longlong) +npe_arg(t, dense_int, dense_long) npe_arg(s, std::vector >) npe_default_arg(k, int, 2) diff --git a/src/bijective_composite_harmonic_mapping.cpp b/src/bijective_composite_harmonic_mapping.cpp index a960c0a7..f01686ac 100644 --- a/src/bijective_composite_harmonic_mapping.cpp +++ b/src/bijective_composite_harmonic_mapping.cpp @@ -44,7 +44,7 @@ npe_function(bijective_composite_harmonic_mapping) npe_doc(ds_bijective_composite_harmonic_mapping) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(b, npe_matches(f)) npe_arg(bc, npe_matches(v)) @@ -97,7 +97,7 @@ npe_function(bijective_composite_harmonic_mapping_with_steps) npe_doc(ds_internal_bijective_composite_harmonic_mapping) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(b, npe_matches(f)) npe_arg(bc, npe_matches(v)) npe_arg(min_steps, int) diff --git a/src/blue_noise.cpp b/src/blue_noise.cpp index edb032df..c6fff50c 100644 --- a/src/blue_noise.cpp +++ b/src/blue_noise.cpp @@ -40,7 +40,7 @@ npe_function(blue_noise) npe_doc(ds_blue_noise) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(r, double) diff --git a/src/bone_parents.cpp b/src/bone_parents.cpp index f5ca14ea..75934283 100644 --- a/src/bone_parents.cpp +++ b/src/bone_parents.cpp @@ -29,7 +29,7 @@ Examples npe_function(bone_parents) npe_doc(ds_bone_parents) -npe_arg(be, dense_int, dense_long, dense_longlong) +npe_arg(be, dense_int, dense_long) npe_begin_code() diff --git a/src/boundary_conditions.cpp b/src/boundary_conditions.cpp index 2b12ebcd..1696de38 100644 --- a/src/boundary_conditions.cpp +++ b/src/boundary_conditions.cpp @@ -54,7 +54,7 @@ npe_function(boundary_conditions) npe_doc(ds_boundary_conditions) npe_arg(v, dense_float, dense_double) -npe_arg(ele, dense_int, dense_long, dense_longlong) +npe_arg(ele, dense_int, dense_long) npe_arg(c, npe_matches(v)) npe_arg(p, npe_matches(ele)) npe_arg(be, npe_matches(ele)) diff --git a/src/boundary_facets.cpp b/src/boundary_facets.cpp index ee568161..f882de32 100644 --- a/src/boundary_facets.cpp +++ b/src/boundary_facets.cpp @@ -30,7 +30,7 @@ Examples npe_function(boundary_facets) npe_doc(ds_boundary_facets) -npe_arg(t, dense_int, dense_long, dense_longlong) +npe_arg(t, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh_faces(t, "t"); diff --git a/src/boundary_loop.cpp b/src/boundary_loop.cpp index 392d8c46..92fa2fe2 100644 --- a/src/boundary_loop.cpp +++ b/src/boundary_loop.cpp @@ -31,7 +31,7 @@ Examples npe_function(boundary_loop) npe_doc(ds_boundary_loop) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tri_mesh_faces(f); @@ -70,7 +70,7 @@ Examples npe_function(all_boundary_loop) npe_doc(ds_all_boundary_loop) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tri_mesh_faces(f); std::vector> l; diff --git a/src/circulation.cpp b/src/circulation.cpp index d0568edc..471a08a9 100644 --- a/src/circulation.cpp +++ b/src/circulation.cpp @@ -50,7 +50,7 @@ npe_doc(ds_circulation) npe_arg(e, int) npe_arg(ccw, bool) -npe_arg(emap, dense_int, dense_long, dense_longlong) +npe_arg(emap, dense_int, dense_long) npe_arg(ef, npe_matches(emap)) npe_arg(ei, npe_matches(emap)) diff --git a/src/circumradius.cpp b/src/circumradius.cpp index 691ea14e..db94679f 100644 --- a/src/circumradius.cpp +++ b/src/circumradius.cpp @@ -35,7 +35,7 @@ npe_function(circumradius) npe_doc(ds_circumradius) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/collapse_small_triangles.cpp b/src/collapse_small_triangles.cpp index 3797dbe3..e4f1909a 100644 --- a/src/collapse_small_triangles.cpp +++ b/src/collapse_small_triangles.cpp @@ -48,7 +48,7 @@ npe_function(collapse_small_triangles) npe_doc(ds_collapse_small_triangles) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(eps, double) diff --git a/src/comb_cross_field.cpp b/src/comb_cross_field.cpp index 4f29e210..5908d5e2 100644 --- a/src/comb_cross_field.cpp +++ b/src/comb_cross_field.cpp @@ -35,7 +35,7 @@ npe_function(comb_cross_field) npe_doc(ds_comb_cross_field) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(pd1in, npe_matches(v)) npe_arg(pd2in, npe_matches(v)) diff --git a/src/comb_frame_field.cpp b/src/comb_frame_field.cpp index f4cab473..b7c8748b 100644 --- a/src/comb_frame_field.cpp +++ b/src/comb_frame_field.cpp @@ -37,7 +37,7 @@ npe_function(comb_frame_field) npe_doc(ds_comb_frame_field) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(pd1, npe_matches(v)) npe_arg(pd2, npe_matches(pd1)) npe_arg(bis1_combed, npe_matches(pd1)) diff --git a/src/comb_line_field.cpp b/src/comb_line_field.cpp index 0d15519f..a6ec9a58 100644 --- a/src/comb_line_field.cpp +++ b/src/comb_line_field.cpp @@ -33,7 +33,7 @@ npe_function(comb_line_field) npe_doc(ds_comb_line_field) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(pd1in, npe_matches(v)) diff --git a/src/compute_frame_field_bisectors.cpp b/src/compute_frame_field_bisectors.cpp index fb104199..16089e52 100644 --- a/src/compute_frame_field_bisectors.cpp +++ b/src/compute_frame_field_bisectors.cpp @@ -39,7 +39,7 @@ npe_function(compute_frame_field_bisectors) npe_doc(ds_compute_frame_field_bisectors) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(b1, npe_matches(v)) npe_arg(b2, npe_matches(v)) npe_arg(pd1, npe_matches(v)) @@ -103,7 +103,7 @@ npe_function(compute_frame_field_bisectors_no_basis) npe_doc(ds_compute_frame_field_bisectors_no_basis) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(pd1, npe_matches(v)) npe_arg(pd2, npe_matches(v)) diff --git a/src/connect_boundary_to_infinity.cpp b/src/connect_boundary_to_infinity.cpp index 1dcf9466..100f8fa5 100644 --- a/src/connect_boundary_to_infinity.cpp +++ b/src/connect_boundary_to_infinity.cpp @@ -35,7 +35,7 @@ Examples npe_function(connect_boundary_to_infinity) npe_doc(ds_connect_boundary_to_infinity) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() @@ -76,7 +76,7 @@ npe_function(connect_boundary_to_infinity_face) npe_doc(ds_connect_boundary_to_infinity_face) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() @@ -121,7 +121,7 @@ Examples npe_function(connect_boundary_to_infinity_index) npe_doc(ds_connect_boundary_to_infinity_index) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(inf_index, int) diff --git a/src/copyleft/cgal/intersect_other.cpp b/src/copyleft/cgal/intersect_other.cpp index d03e7fd0..02d2a857 100644 --- a/src/copyleft/cgal/intersect_other.cpp +++ b/src/copyleft/cgal/intersect_other.cpp @@ -42,7 +42,7 @@ npe_function(intersect_other) npe_doc( ds_intersect_other) npe_arg(VA, dense_float, dense_double) -npe_arg(FA, dense_int, dense_long, dense_longlong) +npe_arg(FA, dense_int, dense_long) npe_arg(VB, npe_matches(VA)) npe_arg(FB, npe_matches(FA)) npe_default_arg(detect_only, bool, false) diff --git a/src/copyleft/cgal/mesh_boolean.cpp b/src/copyleft/cgal/mesh_boolean.cpp index 2a565f0b..910fafaf 100644 --- a/src/copyleft/cgal/mesh_boolean.cpp +++ b/src/copyleft/cgal/mesh_boolean.cpp @@ -30,7 +30,7 @@ npe_function(mesh_boolean) npe_doc(ds_mesh_boolean) npe_arg(va, dense_float, dense_double) -npe_arg(fa, dense_int, dense_long, dense_longlong) +npe_arg(fa, dense_int, dense_long) npe_arg(vb, npe_matches(va)) npe_arg(fb, npe_matches(fa)) npe_arg(type, std::string) diff --git a/src/copyleft/cgal/remesh_self_intersections.cpp b/src/copyleft/cgal/remesh_self_intersections.cpp index 074802c5..9c1625ad 100644 --- a/src/copyleft/cgal/remesh_self_intersections.cpp +++ b/src/copyleft/cgal/remesh_self_intersections.cpp @@ -44,7 +44,7 @@ npe_function(remesh_self_intersections) npe_doc(ds_remesh_self_intersections) npe_arg(V, dense_float, dense_double) -npe_arg(F, dense_int, dense_long, dense_longlong) +npe_arg(F, dense_int, dense_long) npe_default_arg(detect_only, bool, false) npe_default_arg(first_only, bool, false) npe_default_arg(stitch_all, bool, false) diff --git a/src/cotmatrix.cpp b/src/cotmatrix.cpp index dbd8754f..189f6dd1 100644 --- a/src/cotmatrix.cpp +++ b/src/cotmatrix.cpp @@ -36,7 +36,7 @@ Examples npe_function(cotmatrix) npe_doc(ds_cotmatrix) npe_arg(v, dense_double, dense_float) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh_23d(v, f); diff --git a/src/cotmatrix_entries.cpp b/src/cotmatrix_entries.cpp index 2c1d7cd5..241241a9 100644 --- a/src/cotmatrix_entries.cpp +++ b/src/cotmatrix_entries.cpp @@ -40,7 +40,7 @@ npe_function(cotmatrix_entries) npe_doc(ds_cotmatrix_entries) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/cotmatrix_intrinsic.cpp b/src/cotmatrix_intrinsic.cpp index 3fcb4dc1..0ed923c4 100644 --- a/src/cotmatrix_intrinsic.cpp +++ b/src/cotmatrix_intrinsic.cpp @@ -38,7 +38,7 @@ npe_function(cotmatrix_intrinsic) npe_doc(ds_cotmatrix_intrinsic) npe_arg(l, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/cross_field_missmatch.cpp b/src/cross_field_missmatch.cpp index e64ff81c..5a2a0980 100644 --- a/src/cross_field_missmatch.cpp +++ b/src/cross_field_missmatch.cpp @@ -39,7 +39,7 @@ npe_function(cross_field_mismatch) npe_doc(ds_cross_field_mismatch) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(pd1, npe_matches(v)) npe_arg(pd2, npe_matches(v)) npe_arg(is_combed, bool) diff --git a/src/crouzeix_raviart_cotmatrix.cpp b/src/crouzeix_raviart_cotmatrix.cpp index 6ab53ee6..5246d27c 100644 --- a/src/crouzeix_raviart_cotmatrix.cpp +++ b/src/crouzeix_raviart_cotmatrix.cpp @@ -44,7 +44,7 @@ npe_function(crouzeix_raviart_cotmatrix) npe_doc(ds_crouzeix_raviart_cotmatrix) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() @@ -89,7 +89,7 @@ npe_function(crouzeix_raviart_cotmatrix_known_e) npe_doc(ds_crouzeix_raviart_cotmatrix_known_e) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(e, npe_matches(f)) npe_arg(emap, npe_matches(f)) diff --git a/src/crouzeix_raviart_massmatrix.cpp b/src/crouzeix_raviart_massmatrix.cpp index 6c5d0579..2e948985 100644 --- a/src/crouzeix_raviart_massmatrix.cpp +++ b/src/crouzeix_raviart_massmatrix.cpp @@ -47,7 +47,7 @@ npe_function(crouzeix_raviart_massmatrix) npe_doc(ds_crouzeix_raviart_massmatrix) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() @@ -92,7 +92,7 @@ npe_function(crouzeix_raviart_massmatrix_known_e) npe_doc(ds_crouzeix_raviart_massmatrix_known_e) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(e, npe_matches(f)) npe_arg(emap, npe_matches(f)) diff --git a/src/cut_mesh.cpp b/src/cut_mesh.cpp index 164526b3..a4367f05 100644 --- a/src/cut_mesh.cpp +++ b/src/cut_mesh.cpp @@ -38,7 +38,7 @@ npe_function(cut_mesh) npe_doc(ds_cut_mesh) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(cuts, npe_matches(f)) npe_begin_code() assert_valid_3d_tri_mesh(v, f); diff --git a/src/cut_mesh_from_singularities.cpp b/src/cut_mesh_from_singularities.cpp index ab25460a..0cc5b979 100644 --- a/src/cut_mesh_from_singularities.cpp +++ b/src/cut_mesh_from_singularities.cpp @@ -34,7 +34,7 @@ Examples npe_function(cut_mesh_from_singularities) npe_doc(ds_cut_mesh_from_singularities) npe_arg(v, dense_double, dense_float) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(mismatch, npe_matches(f)) npe_begin_code() assert_valid_3d_tri_mesh(v, f); diff --git a/src/cut_to_disk.cpp b/src/cut_to_disk.cpp index fc398c01..9a44052f 100644 --- a/src/cut_to_disk.cpp +++ b/src/cut_to_disk.cpp @@ -51,7 +51,7 @@ Examples npe_function(cut_to_disk) npe_doc(ds_cut_to_disk) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/decimate.cpp b/src/decimate.cpp index 663e2c75..bc75955a 100644 --- a/src/decimate.cpp +++ b/src/decimate.cpp @@ -48,7 +48,7 @@ npe_function(decimate) npe_doc(ds_decimate) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(max_m, size_t) diff --git a/src/deform_skeleton.cpp b/src/deform_skeleton.cpp index 7de3b906..4a9d0f0d 100644 --- a/src/deform_skeleton.cpp +++ b/src/deform_skeleton.cpp @@ -38,7 +38,7 @@ npe_function(deform_skeleton) npe_doc(ds_deform_skeleton) npe_arg(c, dense_float, dense_double) -npe_arg(be, dense_int, dense_long, dense_longlong) +npe_arg(be, dense_int, dense_long) npe_arg(t, dense_float, dense_double) npe_begin_code() diff --git a/src/dihedral_angles.cpp b/src/dihedral_angles.cpp index 90fa4e5f..3aa4dd70 100644 --- a/src/dihedral_angles.cpp +++ b/src/dihedral_angles.cpp @@ -33,7 +33,7 @@ Examples npe_function(dihedral_angles) npe_doc(ds_dihedral_angles) npe_arg(v, dense_float, dense_double) -npe_arg(t, dense_int, dense_long, dense_longlong) +npe_arg(t, dense_int, dense_long) npe_begin_code() assert_valid_tet_mesh(v, t); diff --git a/src/direct_delta_mush.cpp b/src/direct_delta_mush.cpp index 6ee03c29..4b30614b 100644 --- a/src/direct_delta_mush.cpp +++ b/src/direct_delta_mush.cpp @@ -90,7 +90,7 @@ npe_function(direct_delta_mush_precomputation) npe_doc(ds_direct_delta_mush_precomp) npe_arg(v, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(w, npe_matches(v)) npe_arg(p, int) npe_arg(lambda, double) diff --git a/src/directed_edge_orientations.cpp b/src/directed_edge_orientations.cpp index c7823f03..4be546c8 100644 --- a/src/directed_edge_orientations.cpp +++ b/src/directed_edge_orientations.cpp @@ -35,7 +35,7 @@ npe_function(directed_edge_orientations) npe_doc(ds_directed_edge_orientations) npe_arg(c, dense_float, dense_double) -npe_arg(e, dense_int, dense_long, dense_longlong) +npe_arg(e, dense_int, dense_long) npe_begin_code() diff --git a/src/directed_edge_parents.cpp b/src/directed_edge_parents.cpp index 67e628ed..08fb306b 100644 --- a/src/directed_edge_parents.cpp +++ b/src/directed_edge_parents.cpp @@ -30,7 +30,7 @@ p = directed_edge_parents(e) npe_function(directed_edge_parents) npe_doc(ds_directed_edge_parents) -npe_arg(e, dense_int, dense_long, dense_longlong) +npe_arg(e, dense_int, dense_long) npe_begin_code() assert_nonzero_rows(e, "e"); diff --git a/src/doublearea.cpp b/src/doublearea.cpp index cd7162e2..edac246f 100644 --- a/src/doublearea.cpp +++ b/src/doublearea.cpp @@ -33,7 +33,7 @@ npe_function(doublearea) npe_doc(ds_doublearea) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/ears.cpp b/src/ears.cpp index 52fb683f..bff4a3a9 100644 --- a/src/ears.cpp +++ b/src/ears.cpp @@ -32,7 +32,7 @@ Examples npe_function(ears) npe_doc(ds_ears) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/edge_collapse_is_valid.cpp b/src/edge_collapse_is_valid.cpp index b7b538ad..7b939362 100644 --- a/src/edge_collapse_is_valid.cpp +++ b/src/edge_collapse_is_valid.cpp @@ -45,7 +45,7 @@ npe_function(edge_collapse_is_valid) npe_doc(ds_edge_collapse_is_valid) npe_arg(edge, int) -npe_arg(F, dense_int, dense_long, dense_longlong) +npe_arg(F, dense_int, dense_long) npe_arg(E, npe_matches(F)) npe_arg(EMAP, npe_matches(F)) npe_arg(EF, npe_matches(F)) diff --git a/src/edge_flaps.cpp b/src/edge_flaps.cpp index 779747ba..e01df6e0 100644 --- a/src/edge_flaps.cpp +++ b/src/edge_flaps.cpp @@ -41,7 +41,7 @@ Examples npe_function(edge_flaps) npe_doc(ds_edge_flaps) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/edge_lengths.cpp b/src/edge_lengths.cpp index 1ce2657c..1429fb8f 100644 --- a/src/edge_lengths.cpp +++ b/src/edge_lengths.cpp @@ -41,7 +41,7 @@ npe_function(edge_lengths) npe_doc(ds_edge_lengths) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/edge_topology.cpp b/src/edge_topology.cpp index 9de05ae2..0a1b6f76 100644 --- a/src/edge_topology.cpp +++ b/src/edge_topology.cpp @@ -34,7 +34,7 @@ Examples npe_function(edge_topology) npe_doc(ds_edge_topology) npe_arg(v, dense_double, dense_float) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_23d_tri_mesh(v, f); diff --git a/src/edges.cpp b/src/edges.cpp index 1489cdf0..853abbb4 100644 --- a/src/edges.cpp +++ b/src/edges.cpp @@ -30,7 +30,7 @@ Examples npe_function(edges) npe_doc(ds_edges) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh_faces(f); diff --git a/src/edges_to_path.cpp b/src/edges_to_path.cpp index 396ce65d..e131b275 100644 --- a/src/edges_to_path.cpp +++ b/src/edges_to_path.cpp @@ -42,7 +42,7 @@ Examples npe_function(edges_to_path) npe_doc(ds_edges_to_path) -npe_arg(e, dense_int, dense_long, dense_longlong) +npe_arg(e, dense_int, dense_long) npe_begin_code() diff --git a/src/euler_characteristic.cpp b/src/euler_characteristic.cpp index 81c9b3b2..e1fcf111 100644 --- a/src/euler_characteristic.cpp +++ b/src/euler_characteristic.cpp @@ -33,7 +33,7 @@ Examples npe_function(euler_characteristic) npe_doc(ds_euler_characteristic) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() @@ -72,7 +72,7 @@ npe_function(euler_characteristic_complete) npe_doc(ds_euler_characteristic_complete) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/exact_geodesic.cpp b/src/exact_geodesic.cpp index 1727285c..031bb655 100644 --- a/src/exact_geodesic.cpp +++ b/src/exact_geodesic.cpp @@ -36,7 +36,7 @@ Examples npe_function(exact_geodesic) npe_doc(ds_exact_geodesic) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(vs, npe_matches(f)) //TODO somehow the matching is not working in this version, maybe a bug in numpyeigen? Therefore we hand in empty arrays for now npe_arg(vt, npe_matches(f)) npe_default_arg(fs, npe_matches(f), pybind11::array()) diff --git a/src/exterior_edges.cpp b/src/exterior_edges.cpp index e1de224b..21aed1f6 100644 --- a/src/exterior_edges.cpp +++ b/src/exterior_edges.cpp @@ -42,7 +42,7 @@ Examples npe_function(exterior_edges) npe_doc(ds_exterior_edges) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh_faces(f); diff --git a/src/extract_manifold_patches.cpp b/src/extract_manifold_patches.cpp index 1ba83d89..13976fa0 100644 --- a/src/extract_manifold_patches.cpp +++ b/src/extract_manifold_patches.cpp @@ -33,7 +33,7 @@ Examples npe_function(extract_manifold_patches) npe_doc(ds_extract_manifold_patches) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/extract_non_manifold_edge_curves.cpp b/src/extract_non_manifold_edge_curves.cpp index 9f900bd5..b685f0c4 100644 --- a/src/extract_non_manifold_edge_curves.cpp +++ b/src/extract_non_manifold_edge_curves.cpp @@ -43,7 +43,7 @@ Examples npe_function(extract_non_manifold_edge_curves) npe_doc(ds_extract_non_manifold_edge_curves) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(u_e2_e, std::vector >) diff --git a/src/face_occurrences.cpp b/src/face_occurrences.cpp index 59221e00..4911675b 100644 --- a/src/face_occurrences.cpp +++ b/src/face_occurrences.cpp @@ -33,7 +33,7 @@ Examples npe_function(face_occurrences) npe_doc(ds_face_occurrences) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/faces_first.cpp b/src/faces_first.cpp index df2f51cd..469e70b1 100644 --- a/src/faces_first.cpp +++ b/src/faces_first.cpp @@ -46,7 +46,7 @@ npe_function(faces_first) npe_doc(ds_faces_first) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/facet_components.cpp b/src/facet_components.cpp index 734e8d45..9cfa753b 100644 --- a/src/facet_components.cpp +++ b/src/facet_components.cpp @@ -29,7 +29,7 @@ Examples npe_function(facet_components) npe_doc(ds_facet_components) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tri_mesh_faces(f); EigenDenseLike c; diff --git a/src/false_barycentric_subdivision.cpp b/src/false_barycentric_subdivision.cpp index bc902275..0a9a1048 100644 --- a/src/false_barycentric_subdivision.cpp +++ b/src/false_barycentric_subdivision.cpp @@ -36,7 +36,7 @@ npe_function(false_barycentric_subdivision) npe_doc(ds_false_barycentric_subdivision) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/fast_winding_number.cpp b/src/fast_winding_number.cpp index 7a5182c5..3504e124 100644 --- a/src/fast_winding_number.cpp +++ b/src/fast_winding_number.cpp @@ -95,7 +95,7 @@ npe_function(fast_winding_number_for_meshes) npe_doc(ds_fast_winding_number_for_meshes) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(q, npe_matches(v)) diff --git a/src/find_cross_field_singularities.cpp b/src/find_cross_field_singularities.cpp index 2dfdb0f0..9a5d4b4e 100644 --- a/src/find_cross_field_singularities.cpp +++ b/src/find_cross_field_singularities.cpp @@ -35,7 +35,7 @@ npe_function(find_cross_field_singularities) npe_doc(ds_find_cross_field_singularities) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(handle_m_match, npe_matches(f)) @@ -88,7 +88,7 @@ npe_function(find_cross_field_singularities_from_field) npe_doc(ds_find_cross_field_singularities_from_field) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(pd1, npe_matches(v)) npe_arg(pd2, npe_matches(v)) npe_default_arg(is_combed, bool, false) diff --git a/src/flip_edge.cpp b/src/flip_edge.cpp index 34e19f8c..2f0676dc 100644 --- a/src/flip_edge.cpp +++ b/src/flip_edge.cpp @@ -47,7 +47,7 @@ Examples npe_function(flip_edge) npe_doc(ds_flip_edge) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(e, npe_matches(f)) npe_arg(u_e, npe_matches(f)) npe_arg(emap, npe_matches(f)) diff --git a/src/flipped_triangles.cpp b/src/flipped_triangles.cpp index 934742a2..ac57e2ce 100644 --- a/src/flipped_triangles.cpp +++ b/src/flipped_triangles.cpp @@ -32,7 +32,7 @@ npe_function(flipped_triangles) npe_doc(ds_flipped_triangles) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/forward_kinematics.cpp b/src/forward_kinematics.cpp index 13418346..9431a9eb 100644 --- a/src/forward_kinematics.cpp +++ b/src/forward_kinematics.cpp @@ -39,7 +39,7 @@ npe_function(forward_kinematics) npe_doc(ds_forward_kinematics) npe_arg(c, dense_float, dense_double) -npe_arg(be, dense_int, dense_long, dense_longlong) +npe_arg(be, dense_int, dense_long) npe_arg(p, npe_matches(be)) npe_arg(d_q, npe_matches(c)) npe_arg(d_t, dense_float, dense_double) diff --git a/src/gaussian_curvature.cpp b/src/gaussian_curvature.cpp index a9dd3f87..9905a4c6 100644 --- a/src/gaussian_curvature.cpp +++ b/src/gaussian_curvature.cpp @@ -33,7 +33,7 @@ Examples npe_function(gaussian_curvature) npe_doc(ds_gaussian_curvature) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_3d_tri_mesh(v, f); diff --git a/src/grad.cpp b/src/grad.cpp index 45d62efb..2cc33a9c 100644 --- a/src/grad.cpp +++ b/src/grad.cpp @@ -38,7 +38,7 @@ Examples npe_function(grad) npe_doc(ds_grad) npe_arg(v, dense_double, dense_float) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(uniform, bool, false) npe_begin_code() diff --git a/src/grad_intrinsic.cpp b/src/grad_intrinsic.cpp index 49b38044..2a20ff5f 100644 --- a/src/grad_intrinsic.cpp +++ b/src/grad_intrinsic.cpp @@ -42,7 +42,7 @@ npe_function(grad_intrinsic) npe_doc(ds_grad_intrinsic) npe_arg(l, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/harmonic.cpp b/src/harmonic.cpp index 27ab2207..a410257c 100644 --- a/src/harmonic.cpp +++ b/src/harmonic.cpp @@ -33,7 +33,7 @@ Examples npe_function(harmonic) npe_doc(ds_harmonic_w) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(b, npe_matches(f)) npe_arg(bc, npe_matches(v)) npe_arg(k, int) @@ -81,7 +81,7 @@ Examples npe_function(harmonic_uniform_laplacian) npe_doc(ds_harmonic_ul) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(b, npe_matches(f)) npe_arg(bc, dense_float, dense_double) npe_arg(k, int) @@ -139,7 +139,7 @@ npe_doc(ds_harmonic) //TODO: l and bc need to have same type, matching missing npe_arg(l, sparse_float, sparse_double) npe_arg(m, npe_matches(l)) -npe_arg(b, dense_int, dense_long, dense_longlong) +npe_arg(b, dense_int, dense_long) npe_arg(bc, dense_float, dense_double) // npe_arg(bc, npe_dense_like(l)) npe_arg(k, int) @@ -235,7 +235,7 @@ npe_function(harmonic_integrated) npe_doc(ds_harmonic_int) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(k, int) diff --git a/src/hausdorff.cpp b/src/hausdorff.cpp index 1d763878..26e908d0 100644 --- a/src/hausdorff.cpp +++ b/src/hausdorff.cpp @@ -53,7 +53,7 @@ npe_function(hausdorff) npe_doc(ds_hausdorff) npe_arg(va, dense_float, dense_double) -npe_arg(fa, dense_int, dense_long, dense_longlong) +npe_arg(fa, dense_int, dense_long) npe_arg(vb, npe_matches(va)) npe_arg(fb, npe_matches(fa)) diff --git a/src/heat_geodesic.cpp b/src/heat_geodesic.cpp index 79d384b1..e6c2726a 100644 --- a/src/heat_geodesic.cpp +++ b/src/heat_geodesic.cpp @@ -32,7 +32,7 @@ Examples npe_function(heat_geodesic) npe_doc(ds_heat_geodesic) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(t, double) npe_arg(gamma, npe_matches(f)) diff --git a/src/hessian.cpp b/src/hessian.cpp index f97eedde..999c2ced 100644 --- a/src/hessian.cpp +++ b/src/hessian.cpp @@ -36,7 +36,7 @@ npe_function(hessian) npe_doc(ds_hessian) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/hessian_energy.cpp b/src/hessian_energy.cpp index f52244ce..daf26fa3 100644 --- a/src/hessian_energy.cpp +++ b/src/hessian_energy.cpp @@ -42,7 +42,7 @@ npe_function(hessian_energy) npe_doc(ds_hessian_energy) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/inradius.cpp b/src/inradius.cpp index f63ca6c1..1b3f23c3 100644 --- a/src/inradius.cpp +++ b/src/inradius.cpp @@ -32,7 +32,7 @@ npe_function(inradius) npe_doc(ds_inradius) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/internal_angles.cpp b/src/internal_angles.cpp index eac47031..0f9ca995 100644 --- a/src/internal_angles.cpp +++ b/src/internal_angles.cpp @@ -31,7 +31,7 @@ Examples npe_function(internal_angles) npe_doc(ds_internal_angles) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/intrinsic_delaunay_cotmatrix.cpp b/src/intrinsic_delaunay_cotmatrix.cpp index 9e8aa79d..3a0cf7fd 100644 --- a/src/intrinsic_delaunay_cotmatrix.cpp +++ b/src/intrinsic_delaunay_cotmatrix.cpp @@ -38,7 +38,7 @@ npe_function(intrinsic_delaunay_cotmatrix) npe_doc(ds_intrinsic_delaunay_cotmatrix) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/intrinsic_delaunay_triangulation.cpp b/src/intrinsic_delaunay_triangulation.cpp index ec712373..8e938a01 100644 --- a/src/intrinsic_delaunay_triangulation.cpp +++ b/src/intrinsic_delaunay_triangulation.cpp @@ -50,7 +50,7 @@ npe_function(intrinsic_delaunay_triangulation) npe_doc(ds_intrinsic_delaunay_triangulation) npe_arg(l_in, dense_float, dense_double) -npe_arg(f_in, dense_int, dense_long, dense_longlong) +npe_arg(f_in, dense_int, dense_long) npe_begin_code() @@ -106,7 +106,7 @@ npe_function(intrinsic_delaunay_triangulation_edges) npe_doc(ds_intrinsic_delaunay_triangulation1) npe_arg(l_in, dense_float, dense_double) -npe_arg(f_in, dense_int, dense_long, dense_longlong) +npe_arg(f_in, dense_int, dense_long) npe_begin_code() diff --git a/src/is_border_vertex.cpp b/src/is_border_vertex.cpp index 5589cb90..4de6c859 100644 --- a/src/is_border_vertex.cpp +++ b/src/is_border_vertex.cpp @@ -35,7 +35,7 @@ npe_function(is_border_vertex) npe_doc(ds_is_border_vertex) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/is_delaunay.cpp b/src/is_delaunay.cpp index 1208818b..9456f60a 100644 --- a/src/is_delaunay.cpp +++ b/src/is_delaunay.cpp @@ -38,7 +38,7 @@ npe_function(is_delaunay) npe_doc(ds_is_delaunay) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/is_edge_manifold.cpp b/src/is_edge_manifold.cpp index 6ba6aa63..92d4f2c3 100644 --- a/src/is_edge_manifold.cpp +++ b/src/is_edge_manifold.cpp @@ -14,7 +14,7 @@ See is_edge_manifold for the documentation. npe_function(is_edge_manifold) npe_doc(ds_is_edge_manifold) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/is_intrinsic_delaunay.cpp b/src/is_intrinsic_delaunay.cpp index 42aa48eb..20522ddf 100644 --- a/src/is_intrinsic_delaunay.cpp +++ b/src/is_intrinsic_delaunay.cpp @@ -37,7 +37,7 @@ npe_function(is_intrinsic_delaunay) npe_doc(ds_is_intrinsic_delaunay) npe_arg(l, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/is_irregular_vertex.cpp b/src/is_irregular_vertex.cpp index 2f37fa99..3ed0ac84 100644 --- a/src/is_irregular_vertex.cpp +++ b/src/is_irregular_vertex.cpp @@ -33,7 +33,7 @@ npe_function(is_irregular_vertex) npe_doc(ds_is_irregular_vertex) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh_23d(v, f); diff --git a/src/isolines.cpp b/src/isolines.cpp index 085c1989..4c28d567 100644 --- a/src/isolines.cpp +++ b/src/isolines.cpp @@ -38,7 +38,7 @@ npe_function(isolines) npe_doc(ds_isolines) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(z, dense_float, dense_double) npe_arg(n, int) diff --git a/src/iterative_closest_point.cpp b/src/iterative_closest_point.cpp index 458da2a3..244fc511 100644 --- a/src/iterative_closest_point.cpp +++ b/src/iterative_closest_point.cpp @@ -48,7 +48,7 @@ npe_function(iterative_closest_point) npe_doc(ds_iterative_closest_point) npe_arg(vx, dense_float, dense_double) -npe_arg(fx, dense_int, dense_long, dense_longlong) +npe_arg(fx, dense_int, dense_long) npe_arg(vy, npe_matches(vx)) npe_arg(fy, npe_matches(fx)) npe_arg(num_samples, int) diff --git a/src/loop.cpp b/src/loop.cpp index bce11b90..35880a38 100644 --- a/src/loop.cpp +++ b/src/loop.cpp @@ -38,7 +38,7 @@ npe_function(loop_subdivision_matrix) npe_doc(ds_loop_mat) npe_arg(n_verts, int) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tri_mesh_faces(f); @@ -87,7 +87,7 @@ npe_function(loop) npe_doc(ds_loop) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(number_of_subdivs, int, 1) npe_begin_code() diff --git a/src/lscm.cpp b/src/lscm.cpp index 0b50c233..8537277c 100644 --- a/src/lscm.cpp +++ b/src/lscm.cpp @@ -42,7 +42,7 @@ Examples npe_function(lscm) npe_doc(ds_lscm) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(b, npe_matches(f)) npe_arg(bc, npe_matches(v)) npe_begin_code() diff --git a/src/map_vertices_to_circle.cpp b/src/map_vertices_to_circle.cpp index 33d4b298..fc99e3f5 100644 --- a/src/map_vertices_to_circle.cpp +++ b/src/map_vertices_to_circle.cpp @@ -32,7 +32,7 @@ Examples npe_function(map_vertices_to_circle) npe_doc(ds_map_vertices_to_circle) npe_arg(v, dense_float, dense_double) -npe_arg(bnd, dense_int, dense_long, dense_longlong) +npe_arg(bnd, dense_int, dense_long) npe_begin_code() diff --git a/src/marching_tets.cpp b/src/marching_tets.cpp index b06af126..02bad04c 100644 --- a/src/marching_tets.cpp +++ b/src/marching_tets.cpp @@ -41,7 +41,7 @@ npe_function(marching_tets) npe_doc(ds_marching_tets) npe_arg(TV, dense_float, dense_double) -npe_arg(TT, dense_int, dense_long, dense_longlong) +npe_arg(TT, dense_int, dense_long) npe_arg(S, npe_matches(TV)) npe_arg(isovalue, double) diff --git a/src/massmatrix.cpp b/src/massmatrix.cpp index 8b9cf6dd..e5de6433 100644 --- a/src/massmatrix.cpp +++ b/src/massmatrix.cpp @@ -34,7 +34,7 @@ Examples npe_function(massmatrix) npe_doc(ds_massmatrix) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(type, int, 3) npe_begin_code() diff --git a/src/massmatrix_intrinsic.cpp b/src/massmatrix_intrinsic.cpp index 01ae67dd..31f029ee 100644 --- a/src/massmatrix_intrinsic.cpp +++ b/src/massmatrix_intrinsic.cpp @@ -44,7 +44,7 @@ npe_function(massmatrix_intrinsic) npe_doc(ds_massmatrix_intrinsic) npe_arg(l, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(type, int, 1) diff --git a/src/min_quad_with_fixed.cpp b/src/min_quad_with_fixed.cpp index 5e6c1a2c..125fef84 100644 --- a/src/min_quad_with_fixed.cpp +++ b/src/min_quad_with_fixed.cpp @@ -54,7 +54,7 @@ npe_doc(ds_min_quad_with_fixed) npe_arg(A, sparse_float, sparse_double) // npe_arg(B, npe_dense_like(A)) npe_arg(B, dense_float, dense_double) -npe_arg(known, dense_int, dense_long, dense_longlong) +npe_arg(known, dense_int, dense_long) npe_arg(Y, npe_matches(B)) npe_arg(Aeq, npe_matches(A)) npe_arg(Beq, npe_matches(B)) diff --git a/src/moments.cpp b/src/moments.cpp index 94f694a6..85b8df90 100644 --- a/src/moments.cpp +++ b/src/moments.cpp @@ -22,7 +22,7 @@ npe_function(moments) npe_doc(ds_moments) npe_arg(V, dense_float, dense_double) -npe_arg(F, dense_int, dense_long, dense_longlong) +npe_arg(F, dense_int, dense_long) npe_begin_code() assert_valid_3d_tri_mesh(V, F); diff --git a/src/normal_derivative.cpp b/src/normal_derivative.cpp index e07af0c1..dff384e4 100644 --- a/src/normal_derivative.cpp +++ b/src/normal_derivative.cpp @@ -37,7 +37,7 @@ npe_function(normal_derivative) npe_doc(ds_normal_derivative) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/offset_surface.cpp b/src/offset_surface.cpp index 0996d3c8..fa5c7e7f 100644 --- a/src/offset_surface.cpp +++ b/src/offset_surface.cpp @@ -43,7 +43,7 @@ npe_function(offset_surface) npe_doc(ds_offset_surface) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(isolevel, double) npe_arg(s, int) npe_arg(signed_distance_type, int) diff --git a/src/orient_outward.cpp b/src/orient_outward.cpp index 7558a522..ccaec744 100644 --- a/src/orient_outward.cpp +++ b/src/orient_outward.cpp @@ -37,7 +37,7 @@ npe_function(orient_outward) npe_doc(ds_orient_outward) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(c, npe_matches(f)) diff --git a/src/orientable_patches.cpp b/src/orientable_patches.cpp index 0bc3cd36..0dcfeea0 100644 --- a/src/orientable_patches.cpp +++ b/src/orientable_patches.cpp @@ -30,7 +30,7 @@ Examples npe_function(orientable_patches) npe_doc(ds_orientable_patches) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tri_mesh_faces(f); diff --git a/src/oriented_facets.cpp b/src/oriented_facets.cpp index 404d6ff3..fba58178 100644 --- a/src/oriented_facets.cpp +++ b/src/oriented_facets.cpp @@ -35,7 +35,7 @@ Examples npe_function(oriented_facets) npe_doc(ds_oriented_facets) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_or_tri_mesh_faces(f); diff --git a/src/outer_element.cpp b/src/outer_element.cpp index a2d2ab39..de38962a 100644 --- a/src/outer_element.cpp +++ b/src/outer_element.cpp @@ -41,7 +41,7 @@ npe_function(outer_vertex) npe_doc(ds_outer_vertex) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(i, npe_matches(f)) @@ -96,7 +96,7 @@ npe_function(outer_edge) npe_doc(ds_outer_edge) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(i, npe_matches(f)) @@ -152,7 +152,7 @@ npe_function(outer_facet) npe_doc(ds_outer_facet) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(n, npe_matches(v)) npe_arg(i, npe_matches(f)) diff --git a/src/path_to_edges.cpp b/src/path_to_edges.cpp index 417ddef4..e83971a2 100644 --- a/src/path_to_edges.cpp +++ b/src/path_to_edges.cpp @@ -38,7 +38,7 @@ Examples npe_function(path_to_edges) npe_doc(ds_path_to_edges) -npe_arg(i, dense_int, dense_long, dense_longlong) +npe_arg(i, dense_int, dense_long) npe_default_arg(make_loop, bool, false) diff --git a/src/per_corner_normals.cpp b/src/per_corner_normals.cpp index c2d67ab5..24042309 100644 --- a/src/per_corner_normals.cpp +++ b/src/per_corner_normals.cpp @@ -34,7 +34,7 @@ npe_function(per_corner_normals) npe_doc(ds_per_corner_normals) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(corner_threshold, double) diff --git a/src/per_edge_normals.cpp b/src/per_edge_normals.cpp index f016afac..5ba3b0c8 100644 --- a/src/per_edge_normals.cpp +++ b/src/per_edge_normals.cpp @@ -42,7 +42,7 @@ npe_function(per_edge_normals) npe_doc(ds_per_edge_normals) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(weight, int , 0) npe_arg(fn, npe_matches(v)) diff --git a/src/per_face_normals.cpp b/src/per_face_normals.cpp index ce67ee39..fa3343c7 100644 --- a/src/per_face_normals.cpp +++ b/src/per_face_normals.cpp @@ -38,7 +38,7 @@ npe_function(per_face_normals) npe_doc(ds_per_face_normals) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(z, npe_matches(v)) diff --git a/src/per_vertex_attribute_smoothing.cpp b/src/per_vertex_attribute_smoothing.cpp index ee37196b..cbdc4d8a 100644 --- a/src/per_vertex_attribute_smoothing.cpp +++ b/src/per_vertex_attribute_smoothing.cpp @@ -35,7 +35,7 @@ npe_function(per_vertex_attribute_smoothing) npe_doc(ds_per_vertex_attribute_smoothing) npe_arg(ain, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/per_vertex_normals.cpp b/src/per_vertex_normals.cpp index 4c2dc19a..960b68e3 100644 --- a/src/per_vertex_normals.cpp +++ b/src/per_vertex_normals.cpp @@ -36,7 +36,7 @@ Examples npe_function(per_vertex_normals) npe_doc(ds_per_vertex_normals) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(weighting, int, 0) npe_begin_code() diff --git a/src/piecewise_constant_winding_number.cpp b/src/piecewise_constant_winding_number.cpp index b00a7b14..80c6eb4b 100644 --- a/src/piecewise_constant_winding_number.cpp +++ b/src/piecewise_constant_winding_number.cpp @@ -54,7 +54,7 @@ Examples npe_function(piecewise_constant_winding_number) npe_doc(ds_piecewise_constant_winding_number) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/point_mesh_squared_distance.cpp b/src/point_mesh_squared_distance.cpp index b6a316f1..bce94b3c 100644 --- a/src/point_mesh_squared_distance.cpp +++ b/src/point_mesh_squared_distance.cpp @@ -47,7 +47,7 @@ npe_doc(ds_point_mesh_squared_distance) npe_arg(p, dense_float, dense_double) npe_arg(v, dense_float, dense_double) -npe_arg(ele, dense_int, dense_long, dense_longlong) +npe_arg(ele, dense_int, dense_long) npe_begin_code() diff --git a/src/point_simplex_squared_distance.cpp b/src/point_simplex_squared_distance.cpp index 4b187af5..cc8c4b61 100644 --- a/src/point_simplex_squared_distance.cpp +++ b/src/point_simplex_squared_distance.cpp @@ -40,7 +40,7 @@ npe_doc(ds_point_simplex_squared_distance) npe_arg(p, dense_float, dense_double) npe_arg(v, npe_matches(p)) -npe_arg(ele, dense_int, dense_long, dense_longlong) +npe_arg(ele, dense_int, dense_long) npe_arg(i, int) diff --git a/src/principal_curvature.cpp b/src/principal_curvature.cpp index 6fbbf1a0..eca7e42f 100644 --- a/src/principal_curvature.cpp +++ b/src/principal_curvature.cpp @@ -40,7 +40,7 @@ Examples npe_function(principal_curvature) npe_doc(ds_principal_curvature) npe_arg(v, dense_double, dense_float) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(radius, int, 5) npe_default_arg(use_k_ring, bool, true) npe_begin_code() diff --git a/src/project_isometrically_to_plane.cpp b/src/project_isometrically_to_plane.cpp index b6f39d11..3e7f2ef8 100644 --- a/src/project_isometrically_to_plane.cpp +++ b/src/project_isometrically_to_plane.cpp @@ -35,7 +35,7 @@ npe_function(project_isometrically_to_plane) npe_doc(ds_project_isometrically_to_plane) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/qslim.cpp b/src/qslim.cpp index 59e4be59..a7c68fdd 100644 --- a/src/qslim.cpp +++ b/src/qslim.cpp @@ -51,7 +51,7 @@ npe_function(qslim) npe_doc(ds_qslim) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(max_m, size_t) diff --git a/src/quad_planarity.cpp b/src/quad_planarity.cpp index 19f83f30..07644c15 100644 --- a/src/quad_planarity.cpp +++ b/src/quad_planarity.cpp @@ -33,7 +33,7 @@ Examples npe_function(quad_planarity) npe_doc(ds_quad_planarity) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tet_mesh(v, f); diff --git a/src/random_points_on_mesh.cpp b/src/random_points_on_mesh.cpp index 917b82a6..b96c13a9 100644 --- a/src/random_points_on_mesh.cpp +++ b/src/random_points_on_mesh.cpp @@ -36,7 +36,7 @@ npe_doc(ds_random_points_on_mesh) npe_arg(n, int) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/ray_mesh_intersect.cpp b/src/ray_mesh_intersect.cpp index b465ecf1..6357c37f 100644 --- a/src/ray_mesh_intersect.cpp +++ b/src/ray_mesh_intersect.cpp @@ -38,7 +38,7 @@ npe_doc(ds_ray_mesh_intersect) npe_arg(source, dense_float, dense_double) npe_arg(dir, npe_matches(source)) npe_arg(v, npe_matches(source)) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/remove_duplicate_vertices.cpp b/src/remove_duplicate_vertices.cpp index 3fb55aa6..10c7efa7 100644 --- a/src/remove_duplicate_vertices.cpp +++ b/src/remove_duplicate_vertices.cpp @@ -46,7 +46,7 @@ npe_function(remove_duplicate_vertices) npe_doc(ds_remove_duplicate_vertices) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(epsilon, double) diff --git a/src/remove_duplicates.cpp b/src/remove_duplicates.cpp index fc2f6e5c..22a2b53c 100644 --- a/src/remove_duplicates.cpp +++ b/src/remove_duplicates.cpp @@ -42,7 +42,7 @@ npe_function(remove_duplicates) npe_doc(ds_remove_duplicates) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(epsilon, double) diff --git a/src/remove_unreferenced.cpp b/src/remove_unreferenced.cpp index 1905e6fe..c28a6124 100644 --- a/src/remove_unreferenced.cpp +++ b/src/remove_unreferenced.cpp @@ -42,7 +42,7 @@ npe_function(remove_unreferenced) npe_doc(ds_remove_unreferenced) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/resolve_duplicated_faces.cpp b/src/resolve_duplicated_faces.cpp index 37a9f10e..d0a6fb6e 100644 --- a/src/resolve_duplicated_faces.cpp +++ b/src/resolve_duplicated_faces.cpp @@ -44,7 +44,7 @@ Examples npe_function(resolve_duplicated_faces) npe_doc(ds_resolve_duplicated_faces) -npe_arg(f1, dense_int, dense_long, dense_longlong) +npe_arg(f1, dense_int, dense_long) npe_begin_code() diff --git a/src/sample_edges.cpp b/src/sample_edges.cpp index 39c1eb6e..dc7f3ea9 100644 --- a/src/sample_edges.cpp +++ b/src/sample_edges.cpp @@ -41,7 +41,7 @@ npe_function(sample_edges) npe_doc(ds_sample_edges) npe_arg(v, dense_float, dense_double) -npe_arg(e, dense_int, dense_long, dense_longlong) +npe_arg(e, dense_int, dense_long) npe_arg(k, int) diff --git a/src/shape_diameter_function.cpp b/src/shape_diameter_function.cpp index 8e473017..48538918 100644 --- a/src/shape_diameter_function.cpp +++ b/src/shape_diameter_function.cpp @@ -45,7 +45,7 @@ npe_function(shape_diameter_function) npe_doc(ds_shape_diameter_function) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(p, npe_matches(v)) npe_arg(n, npe_matches(v)) npe_arg(num_samples, int) diff --git a/src/sharp_edges.cpp b/src/sharp_edges.cpp index 1241db54..6a20018c 100644 --- a/src/sharp_edges.cpp +++ b/src/sharp_edges.cpp @@ -44,7 +44,7 @@ npe_function(sharp_edges) npe_doc(ds_sharp_edges) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(angle, double) diff --git a/src/signed_distance.cpp b/src/signed_distance.cpp index c10774fe..fdcfd242 100644 --- a/src/signed_distance.cpp +++ b/src/signed_distance.cpp @@ -45,7 +45,7 @@ npe_doc(ds_signed_distance) npe_arg(p, dense_float, dense_double) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(sign_type, int, int(igl::SIGNED_DISTANCE_TYPE_DEFAULT)) npe_default_arg(return_normals, bool, false) diff --git a/src/simplify_polyhedron.cpp b/src/simplify_polyhedron.cpp index 108ec6dd..591e37e9 100644 --- a/src/simplify_polyhedron.cpp +++ b/src/simplify_polyhedron.cpp @@ -45,7 +45,7 @@ npe_function(simplify_polyhedron) npe_doc(ds_simplify_polyhedron) npe_arg(ov, dense_float, dense_double) -npe_arg(of, dense_int, dense_long, dense_longlong) +npe_arg(of, dense_int, dense_long) npe_begin_code() diff --git a/src/topological_hole_fill.cpp b/src/topological_hole_fill.cpp index 3b5bd60b..a0346cc7 100644 --- a/src/topological_hole_fill.cpp +++ b/src/topological_hole_fill.cpp @@ -39,8 +39,8 @@ Examples npe_function(topological_hole_fill) npe_doc(ds_topological_hole_fill) -npe_arg(f, dense_int, dense_long, dense_longlong) -npe_arg(b, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) +npe_arg(b, dense_int, dense_long) npe_arg(holes, std::vector>) diff --git a/src/triangle_fan.cpp b/src/triangle_fan.cpp index 47f5f7aa..0301a8fd 100644 --- a/src/triangle_fan.cpp +++ b/src/triangle_fan.cpp @@ -34,7 +34,7 @@ Examples npe_function(triangle_fan) npe_doc(ds_triangle_fan) -npe_arg(e, dense_int, dense_long, dense_longlong) +npe_arg(e, dense_int, dense_long) npe_begin_code() diff --git a/src/triangle_triangle_adjacency.cpp b/src/triangle_triangle_adjacency.cpp index ca563734..1b93a7c4 100644 --- a/src/triangle_triangle_adjacency.cpp +++ b/src/triangle_triangle_adjacency.cpp @@ -40,7 +40,7 @@ Examples npe_function(triangle_triangle_adjacency) npe_doc(ds_triangle_triangle_adjacency) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/triangles_from_strip.cpp b/src/triangles_from_strip.cpp index f029d489..e4f85ab1 100644 --- a/src/triangles_from_strip.cpp +++ b/src/triangles_from_strip.cpp @@ -31,7 +31,7 @@ Examples npe_function(triangles_from_strip) npe_doc(ds_triangles_from_strip) -npe_arg(s, dense_int, dense_long, dense_longlong) +npe_arg(s, dense_int, dense_long) npe_begin_code() diff --git a/src/uniformly_sample_two_manifold.cpp b/src/uniformly_sample_two_manifold.cpp index aa5f5740..b9cde94e 100644 --- a/src/uniformly_sample_two_manifold.cpp +++ b/src/uniformly_sample_two_manifold.cpp @@ -50,7 +50,7 @@ npe_function(uniformly_sample_two_manifold_internal) npe_doc(ds_uniformly_sample_two_manifold_internal) npe_arg(w, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(k, int) npe_arg(push, double) diff --git a/src/unique_edge_map.cpp b/src/unique_edge_map.cpp index 64ac2c53..9feedfbb 100644 --- a/src/unique_edge_map.cpp +++ b/src/unique_edge_map.cpp @@ -43,7 +43,7 @@ Examples npe_function(unique_edge_map) npe_doc(ds_unique_edge_map) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/unique_simplices.cpp b/src/unique_simplices.cpp index 6790d9c4..2353f529 100644 --- a/src/unique_simplices.cpp +++ b/src/unique_simplices.cpp @@ -31,7 +31,7 @@ Examples npe_function(unique_simplices) npe_doc(ds_unique_simplices) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/unproject_in_mesh.cpp b/src/unproject_in_mesh.cpp index 9633597f..f61f571c 100644 --- a/src/unproject_in_mesh.cpp +++ b/src/unproject_in_mesh.cpp @@ -55,7 +55,7 @@ npe_arg(model, npe_matches(pos)) npe_arg(proj, npe_matches(pos)) npe_arg(viewport, npe_matches(pos)) npe_arg(v, npe_matches(pos)) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/unproject_onto_mesh.cpp b/src/unproject_onto_mesh.cpp index efe7f640..a44bb591 100644 --- a/src/unproject_onto_mesh.cpp +++ b/src/unproject_onto_mesh.cpp @@ -55,7 +55,7 @@ npe_arg(model, npe_matches(pos)) npe_arg(proj, npe_matches(pos)) npe_arg(viewport, npe_matches(pos)) npe_arg(v, npe_matches(pos)) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() diff --git a/src/upsample.cpp b/src/upsample.cpp index c4a67bae..bf11ef25 100644 --- a/src/upsample.cpp +++ b/src/upsample.cpp @@ -37,7 +37,7 @@ npe_function(upsample) npe_doc(ds_upsample) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(number_of_subdivs, int, 1) diff --git a/src/vector_area_matrix.cpp b/src/vector_area_matrix.cpp index 562629af..887d50ab 100644 --- a/src/vector_area_matrix.cpp +++ b/src/vector_area_matrix.cpp @@ -29,7 +29,7 @@ Examples npe_function(vector_area_matrix) npe_doc(ds_vector_area_matrix) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tri_mesh_faces(f); diff --git a/src/vertex_components.cpp b/src/vertex_components.cpp index 934fbedd..0d807d0d 100644 --- a/src/vertex_components.cpp +++ b/src/vertex_components.cpp @@ -29,7 +29,7 @@ Examples npe_function(vertex_components) npe_doc(ds_vertex_components) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_begin_code() assert_valid_tri_mesh_faces(f); EigenDenseLike c; diff --git a/src/vertex_triangle_adjacency.cpp b/src/vertex_triangle_adjacency.cpp index e70f6ba7..52f4719c 100644 --- a/src/vertex_triangle_adjacency.cpp +++ b/src/vertex_triangle_adjacency.cpp @@ -40,7 +40,7 @@ Examples npe_function(vertex_triangle_adjacency) npe_doc(ds_vertex_triangle_adjacency) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(n, int) diff --git a/src/volume.cpp b/src/volume.cpp index 326782e5..7caf0544 100644 --- a/src/volume.cpp +++ b/src/volume.cpp @@ -33,7 +33,7 @@ npe_function(volume) npe_doc(ds_volume) npe_arg(v, dense_float, dense_double) -npe_arg(t, dense_int, dense_long, dense_longlong) +npe_arg(t, dense_int, dense_long) npe_begin_code() diff --git a/src/winding_number.cpp b/src/winding_number.cpp index 36b137d4..faf8e6bc 100644 --- a/src/winding_number.cpp +++ b/src/winding_number.cpp @@ -36,7 +36,7 @@ npe_function(winding_number) npe_doc(ds_winding_number) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(o, dense_float, dense_double) @@ -87,7 +87,7 @@ npe_function(winding_number_for_point) npe_doc(ds_winding_number1) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(p, dense_float, dense_double) diff --git a/src/writeDMAT.cpp b/src/writeDMAT.cpp index d0d18921..9edff143 100644 --- a/src/writeDMAT.cpp +++ b/src/writeDMAT.cpp @@ -39,7 +39,7 @@ Examples npe_function(write_dmat) npe_doc(ds_write_dmat) npe_arg(filename, std::string) -npe_arg(w, dense_double, dense_float, dense_int, dense_longlong ) +npe_arg(w, dense_double, dense_float, dense_int ) npe_default_arg(ascii, bool, true) npe_begin_code() diff --git a/src/writeOBJ.cpp b/src/writeOBJ.cpp index 33ca02e2..f56d868c 100644 --- a/src/writeOBJ.cpp +++ b/src/writeOBJ.cpp @@ -34,7 +34,7 @@ npe_function(write_obj) npe_doc(ds_write_obj) npe_arg(filename, std::string) npe_arg(v, dense_double, dense_float) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) //npe_default_arg(cn, npe_matches(v), pybind11::array()) TODO: NPE Support none arrays as option //npe_default_arg(fn, npe_matches(f), pybind11::array()) //npe_default_arg(tc, npe_matches(v), pybind11::array()) diff --git a/src/writeOFF.cpp b/src/writeOFF.cpp index 3c2c34cf..6351ab62 100644 --- a/src/writeOFF.cpp +++ b/src/writeOFF.cpp @@ -42,7 +42,7 @@ npe_doc(ds_write_off) npe_arg(str, std::string) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_arg(c, npe_matches(v)) @@ -63,7 +63,7 @@ npe_end_code() // npe_arg(str, std::string) // npe_arg(v, dense_float, dense_double) -// npe_arg(f, dense_int, dense_long, dense_longlong) +// npe_arg(f, dense_int, dense_long) // npe_begin_code() diff --git a/src/write_triangle_mesh.cpp b/src/write_triangle_mesh.cpp index 658aa0c3..e4f1db5f 100644 --- a/src/write_triangle_mesh.cpp +++ b/src/write_triangle_mesh.cpp @@ -39,7 +39,7 @@ npe_doc(ds_write_triangle_mesh) npe_arg(str, std::string) npe_arg(v, dense_float, dense_double) -npe_arg(f, dense_int, dense_long, dense_longlong) +npe_arg(f, dense_int, dense_long) npe_default_arg(force_ascii, bool, bool(true)) npe_begin_code()