TetGenExport
TetGenExport["file.ext",expr]
exports data from a TetGen expression into a file.
TetGenExport["file",expr,"format"]
exports data in the specified format.
更多信息和选项
- To use TetGenExport, you first need to load it using Needs["TetGenLink`"].
- TetGenExport[File["path"],expr] is also supported.
- The following formats specific to TetGen are supported by TetGenExport:
-
"node" a list of nodes "poly" a list of facets "smesh" a simple piecewise linear complex "ele" a list of tetrahedra "face" a list of triangular faces "edge" a list of boundary faces "neigh" a list of neighbors
范例
基本范例 (1)
This creates an instance of a TetGen expression:
These are points and facets to load into the instance:
This loads the points and facets into the instance:
Here is a file name to take the "poly" data:
This saves the data into the file:
This shows the contents of the file:
Here is a new file name to take the "node" data:
文本
Wolfram Research (2010),TetGenExport,Wolfram 语言函数,https://reference.wolfram.com/language/TetGenLink/ref/TetGenExport.html.
CMS
Wolfram 语言. 2010. "TetGenExport." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/TetGenLink/ref/TetGenExport.html.
APA
Wolfram 语言. (2010). TetGenExport. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/TetGenLink/ref/TetGenExport.html 年