xyzf_display


xyzf_display, a MATLAB code 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 codes whose output can be displayed by XYZF_DISPLAY.

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 information on this web page is distributed under the MIT license.

Languages:

xyzf_display is available in a MATLAB version.

Related Data and codes:

ball_and_stick_display, a MATLAB code which demonstrates the creation of a 3D ball and stick image;

mesh_display, a MATLAB code which reads data defining a polygonal mesh and displays it, with optional numbering.

mpas_grid_display, a MATLAB code which reads an MPAS NETCDF grid file and displays the primary polygonal mesh or the dual triangular mesh.

plot_points, a FORTRAN90 code which reads a set of points from a file and plots them into an Encapsulated PostScript file.

ply_display, a MATLAB code which displays an image of a 3D graphics file in PLY format;

quad_surface_display, a MATLAB code which reads files defining a 3D quadrilateral mesh surface and displays it.

tri_surface_display, a MATLAB code which reads data defining a triangular mesh of a 3D surface and displays it.

xyz_display, a MATLAB code which reads XYZ information defining points in 3D, and displays an image.

xyz_io, a MATLAB code 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_opengl, a C++ code which reads XYZF information defining points and faces in 3D, and displays an image using OpenGL.

xyzl_display, a MATLAB code which reads XYZL information defining points and lines in 3D, and displays an image.

Source Code:

ELLELL is a shape that looks like an office building, with an L-shaped base and L-shaped profile, using 20 nodes and 18 rectangular faces.

RBC approximates the shape of a red blood cell.

SPHERE is a surface that approximates a sphere.

TET1 is a tetrahedron.


Last revised on 30 October 2024.