XYZF_DISPLAY
Display 3D Points and Faces in the MATLAB Graphics Window


XYZF_DISPLAY is a MATLAB program which reads XYZF information containing a list of 3D point coordinates, and the indices of points that form faces, and displays a plot in the MATLAB graphics window.

SXYZ_VORONOI, which computes the Voronoi diagram for a set of points on a sphere, is an example of the programs whose output can be displayed by XYZF_DISPLAY_OPEN_GL.

Usage:

xyzf_display ( 'prefix' )
where reads the point coordinate data in 'prefix.xyz' and the face information in 'prefix.xyzf', and displays a plot.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

PLOT_POINTS is a FORTRAN90 program which reads a set of points from a file and plots them into an Encapsulated PostScript file.

SXYZ_VORONOI is a FORTRAN90 program which computes and plots the Voronoi diagram of points on the unit sphere.

TRI_SURFACE_DISPLAY is a MATLAB program which reads data defining a triangular mesh of a 3D surface and displays it.

XYZ_DISPLAY is a MATLAB program which reads XYZ information defining points in 3D, and displays an image in the MATLAB graphics window.

XYZ_IO is a MATLAB library which reads and writes files in the XYZ, XYZL, and XYZF formats.

XYZF, a data directory which contains examples of XYZF files, a simple 3D graphics point and face format;

XYZF_DISPLAY_OPEN_GL is a C++ program which reads XYZF information defining points and faces in 3D, and displays an image using OpenGL.

XYZL_DISPLAY is a MATLAB program which reads XYZL information defining points and lines in 3D, and displays an image in a MATLAB graphics window.

Source Code:

Examples and Tests:

SPHERE is a surface that approximates a sphere.

TET1 is a tetrahedron.

You can go up one level to the MATLAB source codes.


Last revised on 01 July 2009.