grid2tri - Gridded Surface to Irregular Triangulation

版本 1.0.0.0 (16.8 KB) 作者: Patrik Forssén
Creates an irregular triangulation of a gridded surface, possibly with undefined areas
361.0 次下载
更新时间 2015/11/16

查看许可证

Converts a regular gridded surface into an irregular triangulation by iteratively adding vertices to an initial triangulation until the difference is smaller than some user set tolerance(s). Returns a triangulation interpolant that can be evaluated on scattered or gridded query locations. The size of a triangulation interpolant is usually much smaller than the corresponding gridded interpolant as the triangulation is adapted to surface, i.e., the resolution is not uniform but finer in areas where needed.
The routines support triangulation of gridded surfaces with undefined NaN-areas (for example holes) and “hot-start” to refine a previous triangulation. There are a number of options for the triangulation, for the error tolerances/convergence criteria and for printing/plotting. All files have detailed help and demos are included.
The routines are, for example, useful for converting GIS data from DEM- to TIN-format and for converting gridded data to a triangulation that can be used in a PDE solver.

引用格式

Patrik Forssén (2024). grid2tri - Gridded Surface to Irregular Triangulation (https://www.mathworks.com/matlabcentral/fileexchange/54007-grid2tri-gridded-surface-to-irregular-triangulation), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
致谢

参考作品: mesh2tri, Line Simplification

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Added image