CODSymbolComponent::GetNodesConnected

int CODSymbolComponent::GetNodesConnected(IODNodeCollection* pINodes)

Retrieve all connected nodes.

Defined in: OdSymbolComp.cpp

Return Value

Number of nodes found.

Parameters

pINodes

Pointer to node collection interface.

Comments

This function performs a depth-first search to retrieve all nodes connected to this node. The direction of edges is unimportant, so all nodes connected from or to this node are retrieved.

This function must perform a lookup in the node collection to determine whether a node has already been visited. Using CODNodeMap for the collection improves the performance of this function.