API Reference > OdDb Classes > OdDbEvalGraph Class > OdDbEvalGraph Methods > OdDbEvalGraph::addGraph Method
OdDbEvalGraph::addGraph Method
Syntax
C++
virtual void addGraph(OdDbEvalGraph* pGraphToAdd, OdDbEvalIdMap*& idMap);
Parameters 
Description 
OdDbEvalGraph* pGraphToAdd 
[in] Pointer to the Graph object to add.  
OdDbEvalIdMap*& idMap 
[out] Pointer to output map from old node ids within 'pGraphToAdd' to their new ids within this graph. 

Moves the nodes and edges from the specified Graph object to this Graph object. The argument graph is emptied as as result of the operation.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.