API 설명서 > Geometry items > Object ProContour > Function ProContourEdgeVisit
Function ProContourEdgeVisit
Description
Visits all the edges of the specified contour.
Replacement in Object TOOLKIT:
Synopsis
#include <ProContour.h>
ProContourEdgeVisit
(
ProSurface surface
/* (In)
The surface of the contour.
*/
ProContour p_contour
/* (In)
The contour handle.
*/
/* (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.
*/
/* (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
The function successfully visited the edges.
One or more of the arguments are invalid.
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).
Sample Code References
User Guide References
도움이 되셨나요?