36#ifndef OPENSWMM_ENGINE_2D_MESH_BUILDER_HPP
37#define OPENSWMM_ENGINE_2D_MESH_BUILDER_HPP
Structure-of-Arrays (SoA) storage for 2D triangular mesh geometry.
Definition ExchangeLaw.hpp:60
void buildMeshTopology(MeshData &mesh)
Build mesh topology and precompute geometry from raw vertex/triangle data.
Definition MeshBuilder.cpp:106
void recomputeVertexZDependents(MeshData &mesh, int vidx)
Recompute Z-derived per-triangle / per-edge geometry for triangles incident to a vertex whose Z just ...
Definition MeshBuilder.cpp:449
std::string validateMesh(const MeshData &mesh)
Validate mesh data for consistency.
Definition MeshBuilder.cpp:294
std::string validateMeshCancellable(const MeshData &mesh, const std::function< bool(int)> &progress, bool &cancelled)
Cancellable validator. cancelled is set when progress returns true.
Definition MeshBuilder.cpp:299
void recomputeAllZDependents(MeshData &mesh)
Whole-mesh form of recomputeVertexZDependents.
Definition MeshBuilder.cpp:462
bool buildMeshTopologyCancellable(MeshData &mesh, const std::function< bool(int)> &progress)
Cancellable equivalent; progress receives integer percent and returns true to cancel.
Definition MeshBuilder.cpp:110
SoA storage for 2D mixed triangle/quad mesh geometry and topology.
Definition MeshData.hpp:65