CODSymbolComponent::GetNodeAdjacent

IODNode* CODSymbolComponent::GetNodeAdjacent(IODEdge* pIEdge)

Retrieve the node adjacent to this node on a given edge.

Defined in: OdSymbolComp.cpp

Return Value

Pointer to adjacent node.

Parameters

pIEdge

Pointer to edge.

Comments

This function returns a pointer to the node at the other end of a given edge. Traversal of a graph can be accomplished by finding an edge belonging to the node and then calling this function to get the node on that edge.

NOTE: The interface pointer is AddRef'd before it is returned. It is the caller's responsibility to call Release() on the interface pointer when it is no longer needed.