| Description |
| Visits all the contours of the specified surface. |
| Replacement in Object TOOLKIT: | pfcSurface::ListContours |
| Synopsis |
| #include <ProSurface.h> |
| ProError | ProSurfaceContourVisit | ( |
| ProSurface p_surface | |
| /*
(In) |
| The surface handle. |
| */ |
| ProSurfaceContourVisitAction action | |
| /*
(In) |
| The action function called for each contour being visited. Visiting stops if this function returns anything other than PRO_TK_NO_ERROR. |
| */ |
| ProSurfaceContourFilterAction filter | |
| /*
(In) |
| The filter function called for each contour before the action is taken. If this function returns PRO_TK_CONTINUE, the action function skips that contour. Any other return value is passed to the action function. If NULL, all contours are visited using the action function. |
| */ |
| ProAppData app_data | |
| /*
(In) |
| The application data passed to the action and filter functions. |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | The function successfully visited all the contours. |
| PRO_TK_BAD_INPUTS | | One or more of the arguments are invalid. |
| PRO_TK_E_NOT_FOUND | | No contours were visited (either because of the filter or for another reason). |
| Other | | Any other value is the value returned from the action function (visiting stopped). |
|