G+Smo
24.08.0
Geometry + Simulation Modules
|
Class Representing a triangle mesh with 3D vertices.
Public Member Functions | |
void | addLine (gsMatrix< T > const &points) |
void | addLine (VertexHandle v0, VertexHandle v1, int midPts=0) |
gsMesh & | cleanMesh () |
reorders the vertices of all faces of an .stl mesh, such that only 1 vertex is used instead of #(adjacent triangles) vertices | |
gsMesh (const gsBasis< T > &basis, int midPts=0) | |
Create a mesh corresponding to the parametric domain of the basis basis.
basis | Basis whose parametric domain should be meshed. |
midPts | Number of intermediate vertices to be inserted to each element side. Cf. gsMesh::addLine(VertexHandle, VertexHandle, int). |
void addLine | ( | gsMatrix< T > const & | points | ) |
Add to the mesh a list of vertices connected with edges One edges are added between two successive vertices in the input. Vertices of the edges are assumed to be inexistent vertices.
points | matrix containing in the columns a list of points |
void addLine | ( | VertexHandle | v0, |
VertexHandle | v1, | ||
int | midPts = 0 |
||
) |
Inserts a straight line in the mesh, between v0 and v1, with midPts intermediate vertices distributed linearly between v0 and v1 (used for plotting).