HC_Begin_Open_Item_Search
-
void
HC_Begin_Open_Item_Search(void) - void HC_Begin_Open_Item_Search(void)
Returns the keys to all currently open segments or geometric primitives.
These routines are used to find all the primitives (segments and geometry) that have been opened but not closed. A call to Begin_Open_Item_Search() initiates the process. Each call to Find_Open_Item() returns the key of a single open item. Once Begin_Open_Item_Search() is called, Show_Open_Item_Count() can be used to return the total number of open items.
If the open item is an edge, offset1 and offset2 will contain the vertex indices at either end of the edge. If the open item is a vertex, face, LOD, region, or trim, offset1 will contain the appropriate index.
Show_Open_Item_Count() is only valid between Begin_Open_Item_Search() and End_Open_Item_Search(). It will always return the total number of open items, not the remaining number of open items.
HC_Begin_Contents_Search, HC_Begin_Segment_Search, HC_Begin_Open_Segment_Search