API 설명서 > Geometry items > Object ProSurface > Function ProSurfaceContourVisit
Function ProSurfaceContourVisit
Description
Visits all the contours of the specified surface.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSurface.h>
ProSurfaceContourVisit
(
ProSurface p_surface
/* (In)
The surface handle.
*/
/* (In)
The action function called for each contour being visited. Visiting stops if this function returns anything other than PRO_TK_NO_ERROR.
*/
/* (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
The function successfully visited all the contours.
One or more of the arguments are invalid.
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).
Sample Code References
User Guide References
도움이 되셨나요?