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
meshsubmap.h
Go to the documentation of this file.
1
29#ifndef OPENSWMMVIS_MESH_MESHSUBMAP_H
30#define OPENSWMMVIS_MESH_MESHSUBMAP_H
31
32#include <QPolygonF> // before meshpatch.h: its makeMappedPatch() takes a QPolygonF
33#include <QString>
34
35#include "mesh/meshpatch.h"
36
37namespace mesh {
38
42bool ringIsRectilinear(const QPolygonF &ring, double tolDeg, double *frameAngleDeg);
43
46PatchMesh makeSubmappedPatch(const QPolygonF &ring, double h, const QString &tag,
47 QString *err = nullptr, double tolDeg = 2.0);
48
49} // namespace mesh
50
51#endif // OPENSWMMVIS_MESH_MESHSUBMAP_H
QString err
Definition inpmeshwriter.cpp:575
int h
Definition mesh2dresultsexport.cpp:387
QPolygonF ring
normalizeRingCCW(r.ring).
Definition meshgenerator.cpp:156
QString tag
r.tag or inherited from a dropped RegionMarker.
Definition meshgenerator.cpp:167
Definition meshcommands.h:302
bool 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 tol...
Definition meshsubmap.cpp:72
PatchMesh 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",...
Definition meshsubmap.cpp:94