Read/write view over mesh data.
More...
#include <BRepGraph_MeshView.hxx>
Read/write view over mesh data.
Splits mesh access into three explicit sub-views:
- Cache() - reads from the BRepGraphMesh cache only (algorithm-derived, freshness-checked against the entity's OwnGen).
- Persistent() - reads from definition-resident mesh (FaceDef.TriangulationRepId, EdgeDef.Polygon3DRepId, CoEdgeDef.Polygon2DRepId, CoEdgeDef.PolygonOnTriRepId).
- Editor() - cache mutations (append/clear). Persistent rep creation lives on BRepGraph::Editor().Edges(), BRepGraph::Editor().CoEdges(), BRepGraph::Editor().Faces() since reps back the topology defs.
- Poly() - mesh element count queries (shared by all paths).
There is no fallback path that mixes cache and persistent - callers pick the source explicitly.
Obtained via BRepGraph::Mesh() (const) or BRepGraph::Mesh() (non-const for Editor).
◆ Cache()
| const CacheView & BRepGraph::MeshView::Cache |
( |
| ) |
const |
|
inlinenodiscard |
◆ Editor()
◆ Effective()
Effective reads - cache first, persistent fallback. Use when source is irrelevant.
◆ Persistent()
Persistent (definition-resident) reads.
◆ Poly()
| const PolyOps & BRepGraph::MeshView::Poly |
( |
| ) |
const |
|
inlinenodiscard |
Polygon/triangulation count queries.
The documentation for this class was generated from the following file: