Status PEXSearchNetwork( Display *display, PEXSearchContext context, PEXStructurePath **path_return )
Zero if unsuccessful; non-zero otherwise.
Invoke PEXSearchNetwork to search a structure network according to the specified search criteria.
The path to the first primitive found that satisfies the search criteria is returned. If no primitive is found that satisfies the criteria, then a null pointer is returned and the search context's start path is set to Null.
After the search has been completed, the start path attribute of the specified search context is set to the path returned, if a primitive was found.
PEXlib allocates memory for the returned structure path. Invoke PEXFreeStructurePaths to deallocate the memory.
For an overview and a list of Spatial Search functions, see Spatial Searches.