intersection of sphere and surface

조회 수: 2 (최근 30일)
Cristiana Abilheira
Cristiana Abilheira 2019년 3월 19일
Hi everyone!
I have an STL surface/skin imported. So I have a vertex, faces and normals matrix of that patch.
Now I've generated 4 spheres using the sphere function , and all of its nodes coordinates are grouped in a 4x3 cell array.
The spheres are strategically positioned under the surface in x and y axis. z is inittialy 0.
What I need is to impose an ascendent movement (in z axis) to the spheres until each one of them touches the surface at any point. At the moment the sphere touches the surface it must stop its moviment. Then, the output I need to get is the amplitude of each sphere movement, the amplitude can be calculated in the center of the sphere.
Its important to notice that the surface its a convex surface so the sphere can touch the surface a little "sideward".
Can somebody help me with this, please?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by