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
openswmmvis::sectionview::DiagramDim Struct Reference

#include <sectiondiagram.h>

Collaboration diagram for openswmmvis::sectionview::DiagramDim:

Public Attributes

QPointF from
 
QPointF to
 
QString text
 
double pixelOffset = 28.0
 
bool accent = false
 Highlight (e.g. the geom being edited).
 

Detailed Description

A dimension line measuring fromto, offset perpendicular to that direction by pixelOffset screen pixels (sign selects the side). Extension lines are drawn from the measured points out to the dimension line, and the text is drawn along it — so one struct covers vertical depths, horizontal widths and the slope-parallel length of a pipe.

Member Data Documentation

◆ accent

bool openswmmvis::sectionview::DiagramDim::accent = false

Highlight (e.g. the geom being edited).

◆ from

QPointF openswmmvis::sectionview::DiagramDim::from

◆ pixelOffset

double openswmmvis::sectionview::DiagramDim::pixelOffset = 28.0

◆ text

QString openswmmvis::sectionview::DiagramDim::text

◆ to

QPointF openswmmvis::sectionview::DiagramDim::to

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