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
SWMMModelLayer::PickResult Struct Reference

Tool-facing click-pick result. valid is false when no feature was hit within tolerance of the canvas-CRS click point. cat and soaIndex give the typed SoA position so tools can reach the underlying geometry without a second name → index lookup. name is the SWMM object id (matches selection-bus SWMMObjectRef::name). More...

#include <swmmmodellayer.h>

Collaboration diagram for SWMMModelLayer::PickResult:

Public Attributes

bool valid = false
 
Category cat = NumCategories
 
int soaIndex = -1
 
QString name
 

Detailed Description

Tool-facing click-pick result. valid is false when no feature was hit within tolerance of the canvas-CRS click point. cat and soaIndex give the typed SoA position so tools can reach the underlying geometry without a second name → index lookup. name is the SWMM object id (matches selection-bus SWMMObjectRef::name).

Member Data Documentation

◆ cat

Category SWMMModelLayer::PickResult::cat = NumCategories

◆ name

QString SWMMModelLayer::PickResult::name

◆ soaIndex

int SWMMModelLayer::PickResult::soaIndex = -1

◆ valid

bool SWMMModelLayer::PickResult::valid = false

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