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::import::SourceFeature Struct Reference

#include <importplanning.h>

Collaboration diagram for openswmmvis::import::SourceFeature:

Public Attributes

long long fid = -1
 
QVector< QPointF > points
 
QVariantMap attrs
 
bool geometryOk = true
 
QString geometryError
 set when !geometryOk
 

Detailed Description

One source feature reduced to plain data. points is the full geometry in MODEL-layer CRS: for point kinds a single entry; for line kinds the ordered polyline (first = upstream, last = downstream). attrs maps OGR field name → value (null QVariant for OGR NULL cells).

Member Data Documentation

◆ attrs

QVariantMap openswmmvis::import::SourceFeature::attrs

◆ fid

long long openswmmvis::import::SourceFeature::fid = -1

◆ geometryError

QString openswmmvis::import::SourceFeature::geometryError

set when !geometryOk

◆ geometryOk

bool openswmmvis::import::SourceFeature::geometryOk = true

false = unusable geometry (empty, multi-part, <2 line points, …)

◆ points

QVector<QPointF> openswmmvis::import::SourceFeature::points

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