| Description |
| Visits the components of the specified composite curve. |
| Replacement in Object TOOLKIT: | pfcCompositeCurve::ListElements |
| Synopsis |
| #include <ProCurve.h> |
| ProError | ProCurveCompVisit | ( |
| ProCurve p_curve | |
| /*
(In) |
| The curve handle. |
| */ |
| ProCurveCompAction action | |
| /*
(In) |
| The action function to be called for each component. If the function returns anything other than PRO_TK_NO_ERROR, visiting stops. This can be NULL, which will cause only the filter function to be called for each curve. |
| */ |
| ProCurveCompFilter filter | |
| /*
(In) |
| The filter function. If NULL, all components 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 the components. |
| PRO_TK_BAD_INPUTS | | One or more of the input arguments are invalid. |
| PRO_TK_NOT_IMPLEMENTED | | The p_curve is a valid geometry item, but not a composite curve. |
| PRO_TK_E_NOT_FOUND | | No components 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). |
|