intersection between plane and 3d points

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.
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)
Any ideas? Thank you

回答(0 个)

类别

标签

提问:

2017-12-22

Community Treasure Hunt

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

Start Hunting!

Translated by