how to calculate a ellipsoid arc and project it onto a plane?

5 views (last 30 days)
hi,
I have an ellipsoid and a plane( see figure). I want to select a generic point to the surface, and I want to calculate the lenght of the arc going from this point and a selected vertex on the surface--> then I want also to high highlight this line on the ellipsoid..the last step consists in project this point onto my plane.... how to do it?

Answers (1)

darova
darova on 3 Jun 2019
I'd build a plane through 3 points
(X,Y for plane surface and for ellipsoid surface must be the same)
img.png
C = contour(X,Y,Zp-Zs, [0 0]); % use contour to get x,y where Zp - Zs == 0
x = C(1,:);
y = C(2,:);
z = % use plane equation to get z(x,y)
img1.png
ind = (xmin < x) & (x < xmax) & ...; % use logical operators to extract points you want
img2.png

Community Treasure Hunt

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

Start Hunting!