![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include "mesh/meshcellstats.h"#include "mesh/meshcellgeom.h"#include "mesh/meshquadquality.h"#include <QSet>#include <algorithm>#include <cmath>#include <limits>#include <vector>Namespaces | |
| namespace | mesh |
Functions | |
| double | mesh::triangleArea (const MeshResult &mesh, int tri) |
| Unsigned area of triangle tri (|cross| / 2), in project CRS units². Returns 0 for an out-of-range triangle or one referencing out-of-range vertices. | |
| QPointF | mesh::cellCentroid (const MeshResult &mesh, int cell) |
| Area centroid of cell cell (mesh::cellGeom — the vertex mean for a triangle, the area-weighted sub-triangle centroid for a quad). A null point for an out-of-range cell. | |
| QuadStats | mesh::computeQuadStats (const MeshResult &mesh) |
| CellAreaStats | mesh::computeCellAreaStats (const MeshResult &mesh) |
| Compute cell-area statistics over all triangles in mesh. | |
| QHash< EdgeVertexPair, QVector< int > > | mesh::buildEdgeTriangles (const MeshResult &mesh) |
| Map every undirected edge to the triangles incident on it. | |
| QVector< double > | mesh::computeCellLchar (const MeshResult &mesh) |
Per-cell L_char for mesh, indexed like mesh.triangles. Cells with invalid indices get 0. | |
| CflStats | mesh::computeCflStats (const MeshResult &mesh, int ltsTiers=4) |
Summarise computeCellLchar. ltsTiers mirrors the engine's [2D_OPTIONS] LTS_TIERS (1..8, default 4). | |
MESH_DECOUPLED_1D2D_REMAP_PLAN Part A — cell-area statistics.