Loading...
Searching...
No Matches
meshgenerator.h File Reference

2D mesh generator (workplans/MESH_TRIANGLE_ENGINE_PLAN_2026-09-30.md): a constrained Delaunay triangulation of every constraint, refined to the caller's size function and a requested minimum angle (mesh/meshcdt.h), with aligned quad strips only where features ask for them — four-sided quad regions, corridors, streets between facing break lines, conduits. More...

#include "meshresult.h"
#include "terrainpolicy.h"
#include "meshedgekey.h"
#include "meshpatch.h"
#include "meshquadquality.h"
#include "cellplanner.h"
#include "meshquadregion.h"
#include "meshprogress.h"
#include <QHash>
#include <QPair>
#include <QSet>
#include <QJsonObject>
#include <QPointF>
#include <QPolygonF>
#include <QString>
#include <QVector>
#include <functional>
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 whose value propagates through the constrained Delaunay region flood fill. More...
 
struct  mesh::RefineHook
 Cancellation, progress and graded sizing callbacks. More...
 
struct  mesh::GenerationOptions
 Quality knobs surfaced to the user dialog. More...
 
struct  mesh::QuadRegionReport
 Per-region outcome of generate() (MeshGenerator::quadRegionReports()). More...
 
struct  mesh::GenerationStats
 What the last generate() built (MeshGenerator::stats()). More...
 
class  mesh::MeshGenerator
 Generate a 2D triangular mesh. More...
 

Namespaces

namespace  mesh
 The Qt-facing MeshKit API (meshkit::core_qt, meshkit::model_qt, meshkit::io_qt): mesh value types and cell attributes, the mesh generator, quad regions, matching and cleanup, mesh statistics, and the INP and 2DM mesh codecs.
 

Detailed Description

2D mesh generator (workplans/MESH_TRIANGLE_ENGINE_PLAN_2026-09-30.md): a constrained Delaunay triangulation of every constraint, refined to the caller's size function and a requested minimum angle (mesh/meshcdt.h), with aligned quad strips only where features ask for them — four-sided quad regions, corridors, streets between facing break lines, conduits.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License
Apache-2.0

2D mesh generator (workplans/MESH_TRIANGLE_ENGINE_PLAN_2026-09-30.md): a constrained Delaunay triangulation of every constraint, refined to the caller's size function and a requested minimum angle (mesh/meshcdt.h), with aligned quad strips only where features ask for them — four-sided quad regions, corridors, streets between facing break lines, conduits. Tags propagate from input → output through point and segment markers and region seeds.

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.