在好例子网,分享、交流、成长!
您当前所在位置:首页C/C++ 开发实例Android手机应用开发 → tetgen manual.pdf

tetgen manual.pdf

Android手机应用开发

下载此实例
  • 开发语言:C/C++
  • 实例大小:2.44M
  • 下载次数:8
  • 浏览次数:87
  • 发布时间:2021-03-20
  • 实例类别:Android手机应用开发
  • 发 布 人:gq99
  • 文件格式:.pdf
  • 所需积分:5
 相关标签: AM en pe oa

实例介绍

【实例简介】

【实例截图】

from clipboard

【核心代码】

Contents
Contents v
1 Introduction 1
1.1 Triangulations of Point Sets . . . . . . . . . . . . . . . . . . . 2
1.1.1 Delaunay Triangulations, Voronoi Diagrams . . . . . . 2
1.1.2 Weighted Delaunay Triangulations, Power Diagrams . . 4
1.1.3 Algorithms . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Tetrahedral Meshes of 3d Spaces . . . . . . . . . . . . . . . . . 7
1.2.1 Piecewise Linear Complexes (PLCs) . . . . . . . . . . . 7
1.2.2 Steiner Points . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.3 Boundary Conformity . . . . . . . . . . . . . . . . . . 10
1.2.4 Constrained Delaunay Tetrahedralizations . . . . . . . 11
1.2.5 Mesh Quality, Tetrahedron Shape Measures . . . . . . 12
1.2.6 Mesh Adaptation, Mesh Sizing Functions . . . . . . . . 13
1.2.7 Mesh Optimization . . . . . . . . . . . . . . . . . . . . 15
1.2.8 Algorithms . . . . . . . . . . . . . . . . . . . . . . . . 15
1.3 Description of the Meshing Process . . . . . . . . . . . . . . . 17
2 General Information 19
2.1 Language, Platforms . . . . . . . . . . . . . . . . . . . . . . . 19
2.2 Memory requirement . . . . . . . . . . . . . . . . . . . . . . . 19
2.3 CPU time estimation . . . . . . . . . . . . . . . . . . . . . . . 20
2.4 Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
2.5 Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3 Getting Started 23
3.1 Compilation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.1.1 Using make . . . . . . . . . . . . . . . . . . . . . . . . 23
3.1.2 Using cmake . . . . . . . . . . . . . . . . . . . . . . . . 24
3.1.3 Remarks on Using Shewchuk’s Robust Predicates . . . 25
3.1.4 Using CGAL’s Robust Predicates . . . . . . . . . . . . 26
3.2 A Short Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3 Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.3.1 Medit . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3.3.2 Paraview . . . . . . . . . . . . . . . . . . . . . . . . . 31
v
4 Using TetGen 32
4.1 Command Line Syntax . . . . . . . . . . . . . . . . . . . . . . 32
4.2 Command Line Switches . . . . . . . . . . . . . . . . . . . . . 32
4.2.1 Delaunay and weighted Delaunay tetrahedralizations . 34
4.2.2 Constrained tetrahedralizations and boundary recovery (-p, -Y) . . . . . . . . . . . . . . . . . . . . . . . . 37
4.2.3 Quality mesh generation (-q) . . . . . . . . . . . . . . . 40
4.2.4 Adaptive mesh generation (-a, -m) . . . . . . . . . . . 42
4.2.5 Reconstructing a tetrahedral mesh (-r) . . . . . . . . . 43
4.2.6 Mesh optimization (-O) . . . . . . . . . . . . . . . . . 45
4.2.7 Mesh coarsening (-R) . . . . . . . . . . . . . . . . . . . 46
4.2.8 Inserting additional points (-i) . . . . . . . . . . . . . . 46
4.2.9 Assigning region attributes (-A) . . . . . . . . . . . . . 47
4.2.10 Mesh output switches (-f, -e, -n, -z, -o2) . . . . . . . . 47
4.2.11 Mesh statistics (-V) . . . . . . . . . . . . . . . . . . . . 48
4.2.12 Memory allocation (-x) . . . . . . . . . . . . . . . . . . 50
4.2.13 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . 50
5 File Formats 52
5.1 Useful Things to Know . . . . . . . . . . . . . . . . . . . . . . 52
5.1.1 A Boundary Description of PLCs . . . . . . . . . . . . 52
5.1.2 Boundary Markers . . . . . . . . . . . . . . . . . . . . 53
5.2 TetGen’s File Formats . . . . . . . . . . . . . . . . . . . . . . 53
5.2.1 .node files . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.2.2 .poly files . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.2.3 .smesh files . . . . . . . . . . . . . . . . . . . . . . . . 59
5.2.4 .ele files . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.2.5 .face files . . . . . . . . . . . . . . . . . . . . . . . . . . 62
5.2.6 .edge files . . . . . . . . . . . . . . . . . . . . . . . . . 63
5.2.7 .vol files . . . . . . . . . . . . . . . . . . . . . . . . . . 64
5.2.8 .mtr files . . . . . . . . . . . . . . . . . . . . . . . . . . 64
5.2.9 .neigh files . . . . . . . . . . . . . . . . . . . . . . . . . 66
5.2.10 .v.node, .v.edge, .v.face, .v.cell . . . . . . . . . . . . . . 67
5.3 Supported File Formats . . . . . . . . . . . . . . . . . . . . . 68
5.3.1 .off files . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.3.2 .ply files . . . . . . . . . . . . . . . . . . . . . . . . . . 69
5.3.3 .stl files . . . . . . . . . . . . . . . . . . . . . . . . . . 69
5.3.4 .mesh files . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.4 File Format Examples . . . . . . . . . . . . . . . . . . . . . . 70
5.4.1 A PLC with Two Boundary Markers . . . . . . . . . . 70
5.4.2 A PLC with Two Sub-regions (Materials) . . . . . . . 73
vi
5.4.3 A PLC with Two Sub-regions and Two Holes . . . . . 75
6 Calling TetGen from Another Program 78
6.1 The Header File . . . . . . . . . . . . . . . . . . . . . . . . . . 78
6.2 The Calling Convention . . . . . . . . . . . . . . . . . . . . . 78
6.3 The tetgenio Data Type . . . . . . . . . . . . . . . . . . . . 79
6.4 Description of Arrays . . . . . . . . . . . . . . . . . . . . . . . 80
6.4.1 Memory Management . . . . . . . . . . . . . . . . . . . 82
6.4.2 The facet Data Structure . . . . . . . . . . . . . . . . 83
6.5 An Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
A Basic Definitions 89
A.1 Simplices, Simplicial Complexes . . . . . . . . . . . . . . . . . 89
A.2 Polyhedra and Faces . . . . . . . . . . . . . . . . . . . . . . . 90
A.3 CSG and B-Rep Models of 3d Domains . . . . . . . . . . . . . 90
B List of Error Codes and Messages 91
References 92

标签: AM en pe oa

实例下载地址

tetgen manual.pdf

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警