OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
MeshBuilder.cpp File Reference

Implementation of mesh topology construction and geometry computation. More...

#include "MeshBuilder.hpp"
#include <unordered_map>
#include <cmath>
#include <algorithm>
#include <sstream>
#include <utility>
#include <cstdint>
Include dependency graph for MeshBuilder.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::twoD
 

Functions

void openswmm::twoD::buildMeshTopology (MeshData &mesh)
 Build mesh topology and precompute geometry from raw vertex/triangle data.
 
std::string openswmm::twoD::validateMesh (const MeshData &mesh)
 Validate mesh data for consistency.
 
void openswmm::twoD::recomputeVertexZDependents (MeshData &mesh, int vidx)
 Recompute Z-derived per-triangle / per-edge geometry for triangles incident to a vertex whose Z just changed.
 

Detailed Description

Implementation of mesh topology construction and geometry computation.

See also
MeshBuilder.hpp

Variable Documentation

◆ local_edge

int local_edge

◆ tri_idx

int tri_idx

◆ v_hi

int v_hi

◆ v_lo

int v_lo