필터 지우기
필터 지우기

How to map 2D mesh points on any 3D surface keeping the interpoint distace as it was in 2D surface?

조회 수: 8 (최근 30일)
Say I have these 2D points on the x-axis and y-axis. Now I have a sphere or any other 3D surface. I want to mount these points on that 3D surface. How can I do that ?? Responses are highly appreciated.
  댓글 수: 3
DGM
DGM 2023년 1월 31일
Define "distance". I see three possibilities:
  1. euclidean distance as projected to the x-y plane (2D)
  2. euclidean distance in 3D space (chord lengths)
  3. distance on the sphere surface (arc lengths)
Bruno Luong
Bruno Luong 2023년 3월 9일
It is well known that it is not possible mathematicaly to maps two surface preserving the distance if they have diffenet Gaussian curvatures, such as a flat 2D sheet and a sphere.

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

답변 (1개)

Sarthak
Sarthak 2023년 3월 9일
Hi,
Here are few approaches to project 2D points onto a 3D surface:
  1. Height map projection: You can use MATLAB’s ‘interp2’ function to perform bilinear interpolation of the height values between the grid points.
  2. Ray tracing: You can use MATLAB’s ‘surfnorm’ function to compute the surface normal at any point on the surface
  3. Surface fitting: Use MATLAB’s ‘fit’ function to fit a surface to the points using various fitting methods.

카테고리

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