API Reference > OdDb Classes > OdDbGraph Class > OdDbGraph Methods > OdDbGraph::findCycles Method
OdDbGraph::findCycles Method
Syntax
C++
virtual bool findCycles(OdDbGraphNode* pStart = 0);
Parameters 
Description 
OdDbGraphNode* pStart = 0 
[in] Pointer to the starting node from which to search. Usually defaulted. 

Returns true if and only if there are any cyclical GraphNodes.

Finds the cyclical nodes for this Graph object.

This function must be called with no intervening changes to the graph, prior to querying cycle information.

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