SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
meshgenerator.h File Reference
#include "meshresult.h"
#include "meshpatch.h"
#include "meshquadmerge.h"
#include "meshquadcleanup.h"
#include "meshquadmatch.h"
#include "meshquadregion.h"
#include "trirefinehook.h"
#include <QHash>
#include <QPointF>
#include <QPolygonF>
#include <QString>
#include <QVector>
Include dependency graph for meshgenerator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mesh::ConstraintSegment
 A polyline that must appear as constrained edges in the mesh. More...
 
struct  mesh::SteinerPoint
 A point that must appear as a vertex in the output mesh. More...
 
struct  mesh::RegionMarker
 A region attribute — an interior seed point with a value Triangle propagates into the triangle-attribute output array. We use it to tag triangles with a numeric id that maps back to subcatchment names etc. More...
 
struct  mesh::GenerationOptions
 Quality knobs surfaced to the user dialog. More...
 
struct  mesh::QuadRegionReport
 Per-region outcome of generate() (MeshGenerator::quadRegionReports()). More...
 
class  mesh::MeshGenerator
 Generate a 2D triangular mesh. More...
 

Namespaces

namespace  mesh
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Slice AU — thin Qt-friendly wrapper around Shewchuk's Triangle (vendor/triangle/). Builds a constrained-Delaunay triangulation from a domain polygon, optional constraint segments, and required Steiner points. Tags propagate from input → output via Triangle's marker (point/segment) and region-attribute mechanisms.

The MeshGenerator deals only in geometry. Mapping SWMM 1D objects (junctions, conduits, subcatchments) onto inputs is the caller's job — that's where the coupling identity comes from.