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

A region attribute — an interior seed point whose value propagates through the constrained Delaunay region flood fill. More...

#include <mesh/meshgenerator.h>

Collaboration diagram for mesh::RegionMarker:

Public Attributes

QPointF xy
 Seed point inside the region (must be inside a sub-polygon).
 
double attribute = 0.0
 Region id; resolved via id→tag map.
 
double maxArea = -1.0
 -1 = use global max area.
 
QString tag
 Convenience.
 

Detailed Description

A region attribute — an interior seed point whose value propagates through the constrained Delaunay region flood fill.

We use it to tag triangles with a numeric id that maps back to subcatchment names etc.

Member Data Documentation

◆ attribute

double mesh::RegionMarker::attribute = 0.0

Region id; resolved via id→tag map.

◆ maxArea

double mesh::RegionMarker::maxArea = -1.0

-1 = use global max area.

◆ tag

QString mesh::RegionMarker::tag

Convenience.

◆ xy

QPointF mesh::RegionMarker::xy

Seed point inside the region (must be inside a sub-polygon).


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