H2Lib
3.0
|
Representation of a two-dimensional triangular mesh. More...
#include <tri2d.h>
Data Fields | |
uint | vertices |
Number of vertices. | |
uint | edges |
Number of edges. | |
uint | triangles |
Number of triangles. | |
real(* | x )[2] |
coordinates of vertices | |
uint(* | e )[2] |
Start and end points of edges. | |
uint(* | t )[3] |
Edge of a triangle. | |
uint * | xb |
Boundary flags for vertices. | |
uint * | eb |
Boundary flags for edges. | |
Representation of a two-dimensional triangular mesh.
Triangular meshes are represented by a hierarchy of geometric objects: vertices are at the lowest level, edges consist of vertices and triangles consist of edges. Functions like getvertices_tri2d are provided to skip levels of the hierarchy in order to obtain the vertices or edges of a tetrahedron.