Documentación de la API > Geometry items > Object ProCurve > Function ProCurveCompVisit
Function ProCurveCompVisit
Description
Visits the components of the specified composite curve.
Replacement in Object TOOLKIT:
Synopsis
#include <ProCurve.h>
ProCurveCompVisit
(
ProCurve p_curve
/* (In)
The curve handle.
*/
/* (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.
*/
/* (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
The function successfully visited the components.
One or more of the input arguments are invalid.
The p_curve is a valid geometry item, but not a composite curve.
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).
Sample Code References
User Guide References
¿Fue esto útil?