intersection between plane and 3d points
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I have to compute the intersection between a plane and a surface (for testing I generated it with meshgrid but I will have scattered 3d points instead sampled with fixed step in both x and y axis). I computed the distance from the plane of all points and picked only those whose distance was lower than a threshold.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168007/image.png)
it is correct so far but I would like to compute a smooth profile (a point every sample step), I managed to do something as shown in the figure but it works only for particular orientation of the plane so it is not general. (Actually what I did was to compute the mean of blocks of N red points and then apply linear interpolation in the middle)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168009/image.png)
Any ideas? Thank you
1 Commento
Are Mjaavatten
il 23 Dic 2017
A very good solution is given by the Matworks support team at: https://se.mathworks.com/matlabcentral/answers/93623-how-do-i-plot-the-line-of-intersection-between-two-surfaces
Risposte (0)
Vedere anche
Categorie
Scopri di più su Interpolation in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!