Loading...
Searching...
No Matches
mesh::MeshVertex Struct Reference

A vertex in the generated mesh. More...

#include <mesh/meshresult.h>

Collaboration diagram for mesh::MeshVertex:

Public Attributes

QPointF xy
 Map units (project CRS).
 
double z = 0.0
 Sampled DTM elevation (set by DTMSampler; 0 until then).
 
int marker = 0
 Input/output point marker (carries our tag id).
 
QString tag
 Descriptive label ([2D_VERTICES] TAG column); empty if none.
 
QString coupledNode
 Coupled SWMM node id ([2D_VERTEX_NODE_MAP]); empty if uncoupled.
 
double couplingCd = 0.65
 [2D_VERTEX_NODE_MAP] CD column (engine default).
 
double couplingArea
 [2D_VERTEX_NODE_MAP] AREA column, mesh length units² (engine default).
 
bool couplingCdSet = true
 False when the row does not author CD / AREA: it is written without the token and the engine applies [2D_OPTIONS] COUPLING_CD / the node's 2D coupling structure (an authored AREA forces a CD column).
 
bool couplingAreaSet = true
 False when the [2D_VERTEX_NODE_MAP] row has no AREA token: the writer omits AREA (and CD too unless couplingCdSet).
 

Detailed Description

A vertex in the generated mesh.

Member Data Documentation

◆ coupledNode

QString mesh::MeshVertex::coupledNode

Coupled SWMM node id ([2D_VERTEX_NODE_MAP]); empty if uncoupled.

◆ couplingArea

double mesh::MeshVertex::couplingArea
Initial value:
=
1.0

[2D_VERTEX_NODE_MAP] AREA column, mesh length units² (engine default).

◆ couplingAreaSet

bool mesh::MeshVertex::couplingAreaSet = true

False when the [2D_VERTEX_NODE_MAP] row has no AREA token: the writer omits AREA (and CD too unless couplingCdSet).

True also forces the CD column to be written.

◆ couplingCd

double mesh::MeshVertex::couplingCd = 0.65

[2D_VERTEX_NODE_MAP] CD column (engine default).

◆ couplingCdSet

bool mesh::MeshVertex::couplingCdSet = true

False when the row does not author CD / AREA: it is written without the token and the engine applies [2D_OPTIONS] COUPLING_CD / the node's 2D coupling structure (an authored AREA forces a CD column).

◆ marker

int mesh::MeshVertex::marker = 0

Input/output point marker (carries our tag id).

◆ tag

QString mesh::MeshVertex::tag

Descriptive label ([2D_VERTICES] TAG column); empty if none.

◆ xy

QPointF mesh::MeshVertex::xy

Map units (project CRS).

◆ z

double mesh::MeshVertex::z = 0.0

Sampled DTM elevation (set by DTMSampler; 0 until then).


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