You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/offset_surface.cpp
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Parameters
17
17
F #F by 3 list of mesh triangle indices into V
18
18
isolevel iso level to extract (signed distance: negative inside)
19
19
s number of grid cells along longest side (controls resolution)
20
-
signed_distance_type type of signing to use one of SIGNED_DISTANCE_TYPE_PSEUDONORMAL, SIGNED_DISTANCE_TYPE_WINDING_NUMBER, SIGNED_DISTANCE_TYPE_DEFAULT, SIGNED_DISTANCE_TYPE_UNSIGNED
20
+
signed_distance_type type of signing to use one of SIGNED_DISTANCE_TYPE_PSEUDONORMAL, SIGNED_DISTANCE_TYPE_WINDING_NUMBER, SIGNED_DISTANCE_TYPE_DEFAULT, SIGNED_DISTANCE_TYPE_UNSIGNED, SIGNED_DISTANCE_TYPE_FAST_WINDING_NUMBER
21
21
22
22
Returns
23
23
-------
@@ -44,20 +44,21 @@ npe_doc(ds_offset_surface)
44
44
45
45
npe_arg(v, dense_float, dense_double)
46
46
npe_arg(f, dense_int, dense_long, dense_longlong)
47
-
npe_arg(isolevel, int)
47
+
npe_arg(isolevel, double)
48
48
npe_arg(s, int)
49
49
npe_arg(signed_distance_type, int)
50
50
npe_begin_code()
51
51
assert_valid_3d_tri_mesh(v, f);
52
52
53
+
// Alec: I don't understand why all these copies are needed here.
0 commit comments