Plotting intersection curves for implicit surfaces
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Surface and Mesh Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Volume Visualization > Scalar Volume Data >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |