21#ifndef OPENSWMMVIS_MESH_MESHOBJECTREF_H
22#define OPENSWMMVIS_MESH_MESHOBJECTREF_H
35 static QString
layerKey(
const QString &sourcePath);
Definition meshobjectref.h:31
static QString layerKey(const QString &sourcePath)
"mesh::<basename>" for the given source path (extension stripped). Empty path → "mesh::<unsaved>".
Definition meshobjectref.cpp:14
static bool parseCell(const SWMMObjectRef &ref, QString *outLayerKey, int *outTriIdx)
Parse a cell ref name.
Definition meshobjectref.cpp:44
static SWMMObjectRef edge(const QString &sourcePath, int triIdx, int edgeLocal)
Build a SelectionManager ref naming an edge on the layer whose source file is at sourcePath.
Definition meshobjectref.cpp:28
static bool parseEdge(const SWMMObjectRef &ref, QString *outLayerKey, int *outTriIdx, int *outEdgeLocal)
Parse an edge ref name.
Definition meshobjectref.cpp:78
static SWMMObjectRef vertex(const QString &sourcePath, int vertexIdx)
Build a SelectionManager ref naming a vertex on the layer whose source file is at sourcePath.
Definition meshobjectref.cpp:21
static bool parseVertex(const SWMMObjectRef &ref, QString *outLayerKey, int *outVertexIdx)
Parse a vertex ref name. Returns true and fills the outs on success; false (and leaves outs untouched...
Definition meshobjectref.cpp:61
std::vector< int > cell
Definition mesh2dresultsexport.cpp:609
Definition meshcommands.h:302
EdgeRef ref
Definition pslgminsize.cpp:377
Identifies a single SWMM object.
Definition selectionmanager.h:32