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
mesh::QuadStats Struct Reference

Quadrilateral-cell statistics (workplans/TRI_QUAD_MESHING_PLAN §5): count, interior-angle range and bed non-planarity. More...

#include <meshcellstats.h>

Collaboration diagram for mesh::QuadStats:

Public Attributes

int count = 0
 Quads with valid vertex ids.
 
double minAngleDeg = 360.0
 Smallest interior corner angle (0 when count == 0).
 
double maxAngleDeg = 0.0
 Largest interior corner angle.
 
double maxNonPlanarity = 0.0
 
double minScaledJacobian = 1.0
 min over quads of min_i sin(theta_i).
 
double medianRectangularity = 0.0
 median of 1 - max|theta-90|/90.
 
double maxAspect = 1.0
 max over quads of opposite-side-mean ratio.
 
int nonConvex = 0
 Quads failing the convexity test.
 
int irregularVertices = 0
 Interior vertices (not on a boundaryEdge) touched only by quads with valence != 4.
 
int sjHistogram [10] = {0,0,0,0,0,0,0,0,0,0}
 

Detailed Description

Quadrilateral-cell statistics (workplans/TRI_QUAD_MESHING_PLAN §5): count, interior-angle range and bed non-planarity.

Member Data Documentation

◆ count

int mesh::QuadStats::count = 0

Quads with valid vertex ids.

◆ irregularVertices

int mesh::QuadStats::irregularVertices = 0

Interior vertices (not on a boundaryEdge) touched only by quads with valence != 4.

◆ maxAngleDeg

double mesh::QuadStats::maxAngleDeg = 0.0

Largest interior corner angle.

◆ maxAspect

double mesh::QuadStats::maxAspect = 1.0

max over quads of opposite-side-mean ratio.

◆ maxNonPlanarity

double mesh::QuadStats::maxNonPlanarity = 0.0

Largest bed twist |z0 - z1 + z2 - z3| / 4 over the quads — the residual of the least-squares plane through the four corners; 0 for a planar bed. Project vertical units.

◆ medianRectangularity

double mesh::QuadStats::medianRectangularity = 0.0

median of 1 - max|theta-90|/90.

◆ minAngleDeg

double mesh::QuadStats::minAngleDeg = 360.0

Smallest interior corner angle (0 when count == 0).

◆ minScaledJacobian

double mesh::QuadStats::minScaledJacobian = 1.0

min over quads of min_i sin(theta_i).

◆ nonConvex

int mesh::QuadStats::nonConvex = 0

Quads failing the convexity test.

◆ sjHistogram

int mesh::QuadStats::sjHistogram[10] = {0,0,0,0,0,0,0,0,0,0}

Histogram of scaled Jacobian in 10 bins over [0,1] (bin 9 = [0.9,1]).


The documentation for this struct was generated from the following file: