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

Parameters for the normal-deviation terrain thinning. More...

#include <dtmthinner.h>

Collaboration diagram for mesh::DTMThinnerOptions:

Public Attributes

double gridSpacing = 0.0
 Sampling step in map units. 0 = native pixel size.
 
double normalDotThreshold = 0.95
 
bool useAverageDot = false
 true = use average dot product; false = minimum.
 
int maxPoints = 0
 
int maxIterations = 0
 Number of thinning passes. 0 = unlimited (convergence).
 
bool useMinSpacing = false
 Enable Poisson-disk minimum-spacing filter.
 
double minSpacing = 0.0
 Min inter-point distance, map units. 0 = auto (2×pixelSize).
 

Detailed Description

Parameters for the normal-deviation terrain thinning.

Member Data Documentation

◆ gridSpacing

double mesh::DTMThinnerOptions::gridSpacing = 0.0

Sampling step in map units. 0 = native pixel size.

◆ maxIterations

int mesh::DTMThinnerOptions::maxIterations = 0

Number of thinning passes. 0 = unlimited (convergence).

◆ maxPoints

int mesh::DTMThinnerOptions::maxPoints = 0

Stop thinning once the active count falls to this or below. Checked BETWEEN passes, so the result may undershoot; it is not a hard cap. 0 = unlimited.

◆ minSpacing

double mesh::DTMThinnerOptions::minSpacing = 0.0

Min inter-point distance, map units. 0 = auto (2×pixelSize).

◆ normalDotThreshold

double mesh::DTMThinnerOptions::normalDotThreshold = 0.95

Remove vertex when score >= this (smooth surface). score = min (or avg) dot(vertex_normal, face_normal). [0, 1]. 0.95 ≈ 18°; 0.0 = remove everything flat.

◆ useAverageDot

bool mesh::DTMThinnerOptions::useAverageDot = false

true = use average dot product; false = minimum.

◆ useMinSpacing

bool mesh::DTMThinnerOptions::useMinSpacing = false

Enable Poisson-disk minimum-spacing filter.


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