![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Backend reconstruction helpers over incidence-table storage. More...
#include <BRepGraphInc_Reconstruct.hxx>
Data Structures | |
| struct | Cache |
| Per-Kind dense vector cache for O(1) shape lookup by entity index. Replaces NCollection_DataMap to eliminate hash/equality overhead. More... | |
Static Public Member Functions | |
| static TopoDS_Shape | Node (const BRepGraphInc_Storage &theStorage, const BRepGraph_NodeId theNode, const BRepGraph_LayerParam *theParams=nullptr, const BRepGraph_LayerRegularity *theRegularities=nullptr) |
| Reconstruct a TopoDS_Shape from an entity node. Creates a local cache internally; shared vertices/edges are not reused across calls. | |
| static TopoDS_Shape | Node (const BRepGraphInc_Storage &theStorage, const BRepGraph_NodeId theNode, Cache &theCache, const BRepGraph_LayerParam *theParams=nullptr, const BRepGraph_LayerRegularity *theRegularities=nullptr) |
| Reconstruct a TopoDS_Shape with a shared cache for sub-shape reuse. Vertices and edges already in theCache are returned directly. | |
| static TopoDS_Shape | FaceWithCache (const BRepGraphInc_Storage &theStorage, const BRepGraph_FaceId theFaceId, Cache &theCache, const BRepGraph_LayerParam *theParams=nullptr, const BRepGraph_LayerRegularity *theRegularities=nullptr) |
| Reconstruct a face with shared edge/vertex cache for multi-face contexts. | |
Backend reconstruction helpers over incidence-table storage.
Converts BRepGraphInc_Storage entity data back into TopoDS shapes. This class is part of the BRepGraphInc backend; external callers should prefer BRepGraph::Shapes() so reconstruction stays behind the facade. Supports single-node and cached multi-face reconstruction with shared edge/vertex reuse via the Cache.
|
static |
Reconstruct a face with shared edge/vertex cache for multi-face contexts.
| [in] | theStorage | incidence storage |
| [in] | theFaceId | face entity id |
| [in,out] | theCache | shared cache for edge and vertex shapes |
|
static |
Reconstruct a TopoDS_Shape with a shared cache for sub-shape reuse. Vertices and edges already in theCache are returned directly.
| [in] | theStorage | incidence storage |
| [in] | theNode | entity node id |
| [in,out] | theCache | shared cache for vertex/edge/face shapes |
|
static |
Reconstruct a TopoDS_Shape from an entity node. Creates a local cache internally; shared vertices/edges are not reused across calls.
| [in] | theStorage | incidence storage |
| [in] | theNode | entity node id |