![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
One cell of a mixed triangle/quad mesh, pre-split for the reconstruction (workplans/TRI_QUAD_MESHING_PLAN_2026-09-06.md). More...
#include <vertexdepthreconstruct.h>
Public Member Functions | |
| int | vertexCount () const noexcept |
Public Attributes | |
| std::array< int, 4 > | v {{-1, -1, -1, -1}} |
| cell vertices; v[3] = -1 for a triangle | |
| int | nSub = 1 |
| 1 (triangle) or 2 (quad) | |
| std::array< std::array< int, 3 >, 2 > | sub {} |
| sub-triangle vertex indices | |
| std::array< double, 2 > | area {{0.0, 0.0}} |
| planimetric sub-triangle areas (quad) | |
One cell of a mixed triangle/quad mesh, pre-split for the reconstruction (workplans/TRI_QUAD_MESHING_PLAN_2026-09-06.md).
Built once per geometry rebuild from mesh::cellGeom so the quad's sub-triangles are the SAME two the engine's VFR storage model uses (Begnudelli & Sanders 2007 diagonal). A triangle has nSub == 1 and sub[0] == {v0,v1,v2}; the areas are only consulted for a quad.
|
inlinenoexcept |
| std::array<double, 2> VertexDepthReconstruct::CellSplit::area {{0.0, 0.0}} |
planimetric sub-triangle areas (quad)
| int VertexDepthReconstruct::CellSplit::nSub = 1 |
1 (triangle) or 2 (quad)
| std::array<std::array<int, 3>, 2> VertexDepthReconstruct::CellSplit::sub {} |
sub-triangle vertex indices
| std::array<int, 4> VertexDepthReconstruct::CellSplit::v {{-1, -1, -1, -1}} |
cell vertices; v[3] = -1 for a triangle