HC_Find_Open_Item

bool HC_Find_Open_Item(Key *key, char *type, int *offset1, int *offset2)
bool HC_Find_Open_Item(Key key, char type, int offset1, int offset2)

Retrieves the open items in a segment tree, one at a time. The function returns false when all items have been returned.

HC_Begin_Open_Item_Search()

Parameters

key: Unique numeric identifier for an open item. Returned to user. Passed by reference always.

type: A string that indicates the type of object represented by key. Returned to user. Passed by reference always.

offset1: If the open item is sub-geometry (an edge, vertex, face, LOD, region, trim, etc.) this will contain information about that object. Returned to user. Passed by reference always.

offset2: If the open item is an edge, this will contain the index of the second vertex of the edge. Returned to user. Passed by reference always.

Returns

flag A number indicating whether or not open items have been found.