Plotting intersection curves for implicit surfaces

version 1.0.0.0 (4.64 KB) by Leif Persson
Plot intersection curves for implicit surfaces

111 Downloads

Updated 2 Mar 2016

View License

Implicit surfaces can be plotted with the isosurface function, but to my knowledge there is no function for plotting the intersection curve between two implicit surfaces. The isocurve3 function provided here does the job, with input parameters similar to those of isosurface. The implementation uses a crossing detection method which I found on Mike Garrity's blog http://blogs.mathworks.com/graphics/2015/07/22/implicit-surface-intersections/. His method is combined with some combinatorial algorithms to identify and sort the isocurve components. Examples are provided in the enclosed file test_isocurve.m, among the examples is the problem considered in Mike Garrity's blog post mentioned above.

Cite As

Leif Persson (2022). Plotting intersection curves for implicit surfaces (https://www.mathworks.com/matlabcentral/fileexchange/55728-plotting-intersection-curves-for-implicit-surfaces), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!