![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
Go to the source code of this file.
Namespaces | |
| namespace | mesh |
Functions | |
| bool | mesh::ringIsRectilinear (const QPolygonF &ring, double tolDeg, double *frameAngleDeg) |
True when every edge of the (normalised) ring is parallel to one of two perpendicular axes within tolDeg. frameAngleDeg receives the frame rotation when non-null. | |
| PatchMesh | mesh::makeSubmappedPatch (const QPolygonF &ring, double h, const QString &tag, QString *err=nullptr, double tolDeg=2.0) |
| Build the submapped patch. On failure returns an empty PatchMesh and sets *err ("not rectilinear", "spacing must be > 0", "degenerate ring"). | |
Grid-based submapping of an exactly rectilinear ring (workplans/QUAD_MESHING_REDESIGN_PLAN_2026-09-06.md §4.3, reduced scope — Whiteley et al. 1996 without the integer-programming interval assignment):
Output quads are rectangles (CCW), vertices in the original frame; the boundary segments are the ring edges split at the grid nodes, so the caller can stitch the patch exactly like a transfinite one (MeshGenerator::addPatch).