필터 지우기
필터 지우기

Retrieve cartesian coordinates from a 3D shape surface

조회 수: 2 (최근 30일)
philio63
philio63 2022년 7월 30일
댓글: philio63 2022년 7월 31일
is there a way to retrieve coordinates from a 3D or even 2D shape.
ie. an array of coordinates
[0,5,0; x1,y1,z1, etc]
ellipsoid(0,-0.5,-0,6,3.25,20)
axis equal
zlim([0.0 20])
obviously the question might be is this considered meshing?
and how refined can it be?
I'd really like to be able to find all the XYZ for a given shape.
many thanks for any advice!

채택된 답변

Matt J
Matt J 2022년 7월 31일
Call ellipsoid with outputs,
[X,Y,Z] = ellipsoid(xc,yc,zc,xr,yr,zr)
  댓글 수: 1
philio63
philio63 2022년 7월 31일
wow thanks, that worked well.
Thats probably enough to get me going.
Any chance its possible to affect the distribution of each face, ie. make them roughly the equivalent area.
The faces at the top, are very detailed (as they would be to make the curve)
Anyways, big thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (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