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

#include <breaklinestrips.h>

Collaboration diagram for mesh::FacingPairOptions:

Public Attributes

double minWidth = 0.0
 Separation range, map units (maxWidth > minWidth > 0).
 
double maxWidth = 0.0
 
double station = 0.0
 Sampling step along each line, map units (> 0).
 
double maxAngleDeg = 20.0
 Largest angle between the two lines at a station.
 
double widthChange
 Largest relative change of the separation from one station to the next.
 
int minStations = 4
 A pair also runs at least three separations along the line.
 
double endTrimFraction = 0.25
 
std::function< double(double, double)> elevationAt
 

Member Data Documentation

◆ elevationAt

std::function<double(double, double)> mesh::FacingPairOptions::elevationAt

Ground elevation at a map coordinate (NaN = unknown). Null = no trough test (every facing pair qualifies).

◆ endTrimFraction

double mesh::FacingPairOptions::endTrimFraction = 0.25

Each run gives up this fraction of its separation at both ends, so the strips of two crossing streets keep apart at the intersection.

◆ maxAngleDeg

double mesh::FacingPairOptions::maxAngleDeg = 20.0

Largest angle between the two lines at a station.

◆ maxWidth

double mesh::FacingPairOptions::maxWidth = 0.0

◆ minStations

int mesh::FacingPairOptions::minStations = 4

A pair also runs at least three separations along the line.

◆ minWidth

double mesh::FacingPairOptions::minWidth = 0.0

Separation range, map units (maxWidth > minWidth > 0).

◆ station

double mesh::FacingPairOptions::station = 0.0

Sampling step along each line, map units (> 0).

◆ widthChange

double mesh::FacingPairOptions::widthChange
Initial value:
=
0.25

Largest relative change of the separation from one station to the next.


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