Skip to content

Commit d6e909b

Browse files
committed
- Standardize data types in numeric operations across Bézier and NURBS methods for consistency and precision.
- Add `examples/ssx/nurbs_nurbs_intersection_10.py` to demonstrate NURBS intersection use cases. - Refactor `ndinterval.c` to fix method names and refine interval operations. - Introduce `_deflate.py` for advanced intersection processing with improved derivative handling and multi-dimensional Bernstein patch methods. - Optimize memory usage by caching frequently used computations in `fdm.py` and `aabb.py`.
1 parent 2006d16 commit d6e909b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mmcore/numeric/intersection/_deflate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,4 +1360,5 @@ def trace_one_direction(sign):
13601360
print("points:", len(curve_3d))
13611361
print("first/last:", curve_3d[0], curve_3d[-1])
13621362

1363-
print(np.array(curve_3d).tolist())
1363+
print(np.array(curve_3d).tolist())
1364+
assert np.allclose([5.0, 0.0, 5.0],curve_3d[0]) and np.allclose([5.0, 15.0, 5.0],curve_3d[-1]) # check if the curve ends is correct

0 commit comments

Comments
 (0)