C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Graph::Purge

Defined in:  C4Graph.h
Destroys all nodes belonging to a graph.
Prototype

void Purge(void);

Description
The Purge function destroys all of the nodes belonging to a graph. This process also causes every edge belonging to the graph to be destroyed. The graph is completely empty after this function is called.
See Also

Graph::Empty

Graph::GetNodeCount

Graph::RemoveNode