Home License -- for personal use only. Not for government, academic, research, commercial, or other organizational use. 13-Sep-2024 08:46:28 ply_to_tri_surface_test(): MATLAB/Octave version 9.11.0.2358333 (R2021b) Update 7 Test ply_to_tri_surface(). ply_to_tri_surface_test01(): ply_to_tri_surface() reads a PLY file. It can return a PLY data structure, or a pair ( NODE_XYZ, TRIANGLE_NODE ) which is a simple triangular mesh. Extract nodes and triangles from "sphere.ply" The first 5 nodes: Row: 1 2 3 Col 1 0.000000 0.000000 -127.000000 2 5.000000 25.000000 -125.000000 3 10.000000 24.000000 -125.000000 4 15.000000 21.000000 -125.000000 5 19.000000 17.000000 -125.000000 The first 5 triangles. Row: 1 2 3 Col 1 1 2 3 2 1 3 4 3 1 4 5 4 1 5 6 5 1 6 7 Display the TRI_SURFACE data: Graphics saved as "ply_to_tri_surface_test01.png" ply_to_tri_surface_test02 ply_to_tri_surface() reads a PLY file as TRI_SURFACE data. tri_surface_write() writes the data to a pair of TRI_SURFACE files. Extract nodes and triangles from "cube.ply" The first 5 nodes: Row: 1 2 3 Col 1 -1.000000 -1.000000 -1.000000 2 1.000000 -1.000000 -1.000000 3 1.000000 1.000000 -1.000000 4 -1.000000 1.000000 -1.000000 5 -1.000000 -1.000000 1.000000 The first 5 triangles. Row: 1 2 3 Col 1 1 2 3 2 6 5 8 3 7 3 2 4 4 8 5 5 8 4 3 Graphics data written in TRI_SURFACE format to: node file = "cube_nodes.txt". triangle file = "cube_elements.txt". ply_to_tri_surface_test():: Normal end of execution. 13-Sep-2024 08:46:34