![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include "mesh/meshcrossfield.h"#include "mesh/meshquadmatch.h"#include "mesh/meshquadquality.h"#include <QPointF>#include <QPolygonF>#include <QVector>#include <functional>Go to the source code of this file.
Classes | |
| struct | mesh::QuadPointOptions |
| struct | mesh::QuadPointSet |
Namespaces | |
| namespace | mesh |
Functions | |
| QuadPointSet | mesh::placeQuadPoints (const QPolygonF &ring, const QVector< QPointF > &seeds, int ringCount, const CrossField &field, const QuadPointOptions &opts) |
Place lattice points inside ring (CCW, open) aligned to field. seeds = ring vertices (exactly ringCount of them, in ring order) followed by fixed interior points. Returns an empty set when h <= 0 or the ring has fewer than 3 vertices. | |
| QuadPointSet | mesh::placeQuadPoints (const QPolygonF &ring, const QVector< QPolygonF > &holes, const QVector< QPointF > &seeds, int ringCount, const CrossField &field, const QuadPointOptions &opts) |
Hole-aware overload: no point is placed inside any ring of holes, and the boundary clearance is kept from the hole rings as well as from ring (QUAD_EVERYWHERE_PLAN_2026-09-07.md §3.1). An empty holes is identical to the overload above. | |
| double | mesh::distanceToRing (const QPolygonF &ring, const QPointF &p) |
Distance from p to the closest ring edge. | |
| double | mesh::distanceToRings (const QPolygonF &ring, const QVector< QPolygonF > &holes, const QPointF &p) |
Distance from p to the closest edge of ring or of any hole. | |
Field-aligned frontal point placement for Free quad regions (workplans/QUAD_MESHING_REDESIGN_PLAN_2026-09-06.md §4.4d), after DelQuad (Remacle et al. 2013) and Shimada's square packing (1998):
Indices in QuadTemplate::v: i < seeds.size() → seeds[i]; otherwise generated[i - seeds.size()].