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::CellGeom Struct Reference

Per-cell derived geometry shared by every consumer. More...

#include <meshcellgeom.h>

Collaboration diagram for mesh::CellGeom:

Public Attributes

double area = 0.0
 planimetric (map units²)
 
QPointF centroid
 AREA centroid (not the vertex mean for a quad)
 
double zMean = 0.0
 mean of the vertex elevations
 
int nSub = 1
 sub-triangles: 1 (triangle) or 2 (quad)
 
std::array< std::array< int, 3 >, 2 > sub {}
 sub-triangle vertex indices
 
int diagCase = 0
 B&S 2007 case (1..3) for a quad; 0 for a triangle.
 

Detailed Description

Per-cell derived geometry shared by every consumer.

Member Data Documentation

◆ area

double mesh::CellGeom::area = 0.0

planimetric (map units²)

◆ centroid

QPointF mesh::CellGeom::centroid

AREA centroid (not the vertex mean for a quad)

◆ diagCase

int mesh::CellGeom::diagCase = 0

B&S 2007 case (1..3) for a quad; 0 for a triangle.

◆ nSub

int mesh::CellGeom::nSub = 1

sub-triangles: 1 (triangle) or 2 (quad)

◆ sub

std::array<std::array<int, 3>, 2> mesh::CellGeom::sub {}

sub-triangle vertex indices

◆ zMean

double mesh::CellGeom::zMean = 0.0

mean of the vertex elevations


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