Description | ||||||||
Finds and returns an array of surfaces that are the same as the input surface. For example, in the case of a cylinder, Creo Parametric creates two half-cylindrical surfaces. If you input one half, the other half is returned by this function. | ||||||||
Replacement in Object TOOLKIT: | pfcSurface::ListSameSurfaces | |||||||
Synopsis | ||||||||
#include <ProSurface.h> | ||||||||
ProError | ProSurfaceSameSrfsFind | ( | ||||||
ProSolid solid | ||||||||
/* (In) | ||||||||
The owner of the surface. | ||||||||
*/ | ||||||||
ProSurface surface | ||||||||
/* (In) | ||||||||
The surface whose same surfaces are to be found. | ||||||||
*/ | ||||||||
ProSurface** r_surf_arr | ||||||||
/* (Out) | ||||||||
The returned array of surfaces. This will include the input surface. You must preallocate this array using ProArrayAlloc(). Free it using ProArrayFree() | ||||||||
*/ | ||||||||
int* r_size | ||||||||
/* (Out) | ||||||||
The size of the array. This argument is optional (can be NULL). | ||||||||
*/ | ||||||||
) | ||||||||
Returns | ||||||||
|
||||||||
See Also | ||||||||
ProArrayAlloc |