| Description |
| Visits all the edges of the specified contour. |
| Replacement in Object TOOLKIT: | pfcContour::ListElements |
| Synopsis |
| #include <ProContour.h> |
| ProError | ProContourEdgeVisit | ( |
| ProSurface surface | |
| /*
(In) |
| The surface of the contour. |
| */ |
| ProContour p_contour | |
| /*
(In) |
| The contour handle. |
| */ |
| ProContourEdgeVisitAction action | |
| /*
(In) |
| The action function to be called for each edge. If it returns anything other than PRO_TK_NO_ERROR, visiting stops. Note that you must specify this argument. |
| */ |
| ProContourEdgeFilterAction filter | |
| /*
(In) |
| The filter function. If NULL, visits all edges using the action function. |
| */ |
| ProAppData app_data | |
| /*
(In) |
| The application data passed to the filter and visiting functions. |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | The function successfully visited the edges. |
| PRO_TK_BAD_INPUTS | | One or more of the arguments are invalid. |
| PRO_TK_E_NOT_FOUND | | No edges were visited, either because of the filter or for another reason. |
| Other | | Any other value is the value returned by the action function (visiting stopped). |
|