![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Graph-to-graph deep copy. More...
#include <BRepGraph_Copy.hxx>
Static Public Member Functions | |
| static BRepGraph | Perform (const BRepGraph &theGraph, const bool theCopyGeom=true) |
| Copy the entire graph. | |
| static BRepGraph | CopyNode (const BRepGraph &theGraph, const BRepGraph_NodeId theNodeId, const bool theCopyGeom=true, const bool theCopyMesh=true, const bool theReserveCache=false) |
| Copy a single node sub-graph of any kind (Face, Shell, Solid, Wire, Edge, Vertex, etc.). The new graph contains only the specified node and all entities it references. | |
Graph-to-graph deep copy.
Produces a new BRepGraph from an existing one in a single bottom-up pass, avoiding the 5-7 traversals of BRepTools_Modifier used by BRepBuilderAPI_Copy.
Two modes:
|
static |
Copy a single node sub-graph of any kind (Face, Shell, Solid, Wire, Edge, Vertex, etc.). The new graph contains only the specified node and all entities it references.
| [in] | theGraph | a pre-built BRepGraph |
| [in] | theNodeId | node identifier (any kind) |
| [in] | theCopyGeom | if true, geometry handles are deep-copied |
| [in] | theCopyMesh | if true, cached mesh entries are propagated to the result; if false, mesh references are dropped on copied faces |
| [in] | theReserveCache | if true, pre-allocates transient cache |
|
static |
Copy the entire graph.
| [in] | theGraph | a pre-built BRepGraph (must have IsDone() == true) |
| [in] | theCopyGeom | if true (default), geometry handles are deep-copied; if false, geometry is shared (only topology is duplicated) |