| Description |
| Visits all the surfaces in the specified solid. |
| Synopsis |
| #include <ProSolid.h> |
| ProError | ProSolidSurfaceVisit | ( |
| ProSolid p_handle | |
| /*
(In) |
| The solid handle. |
| */ |
| ProSurfaceVisitAction visit_action | |
| /*
(In) |
| The visiting function. If it returns anything other than PRO_TK_NO_ERROR, visiting stops. |
| */ |
| ProSurfaceFilterAction filter_action | |
| /*
(In) |
| The filter function. If NULL, all surfaces are are visited 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 all the surfaces. |
| PRO_TK_E_NOT_FOUND | | Either no surfaces exist, or they were all filtered out by the filter function. |
| Other | | Any other value is the value returned by the action function (visiting stopped). |
|