subroutines/xmlmesh

Version 1.0.0.0 (4,88 KB) von Brad
xmlmesh is a Matlab function to format triangulated mesh data for xml file output.
183 Downloads
Aktualisiert 17. Aug 2015

Description
xmlmesh() takes a set of 2D or 3D vertices (vrts) and a tetrahedral (tets)
connectivity list, and creates an XML file of the mesh. This function was
originally created to export xml mesh files for using in Fenics:Dolfin
but can be adapted for universal xml export of triangulated meshes.
Useage Definitions

xmlmesh(vrts,tets)
creates an XML file 'xmlmesh.xml' from a set of vertices "vrts"
and a connectivity list; here the connectivity list is referred
to as "tets". These parameters can be generated manually, or by
using matlab's builtin triangulation functions. The point list
"vrts" is a matrix with dimensions Mx2 (for 2D) or Mx3 (for 3D).
The matrix "tets" represents the triangulated connectivity list
of size Mx3 (for 2D) or Mx4 (for 3D), where M is the number of
triangles. Each row of tets specifies a triangle defined by indices
with respect to the points. The delaunayTriangulation function
can be used to quickly generate these input variables:
TR = delaunayTriangulation(XYZ);
vrts = TR.Points;
tets = TR.ConnectivityList;

Zitieren als

Brad (2024). subroutines/xmlmesh (https://github.com/bradmonk/xmlmesh), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2014b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Delaunay Triangulation finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.0.0.0

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.