Description | |||||||||||
Analyzes and returns the number of connect volumes of a part, and the surfaces that bound them.
Free the memory for the p_surface_id_array as follows: for (i = 0; i < p_count; i++) ProArrayFree(ProArray) p_surface_id_array[i]); |
|||||||||||
Replacement in Object TOOLKIT: | wfcWPart::GetVolumeInfo | ||||||||||
Synopsis | |||||||||||
#include <ProSurface.h> | |||||||||||
ProError | ProSldsurfaceVolumesFind | ( | |||||||||
ProPart part | |||||||||||
/* (In) | |||||||||||
The part handle. | |||||||||||
*/ | |||||||||||
int* p_count | |||||||||||
/* (Out) | |||||||||||
The number of distinct volumes found. | |||||||||||
*/ | |||||||||||
int** p_count_array | |||||||||||
/* (Out) | |||||||||||
The array that contains the number of surfaces in each identified volume. The function allocates the memory for this argument, but you must free it. | |||||||||||
*/ | |||||||||||
int*** p_surface_id_array | |||||||||||
/* (Out) | |||||||||||
An array of arrays of surface identifiers that contains the connected volumes found. The function allocates the memory for this argument. | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|
|||||||||||
See Also | |||||||||||
ProArrayFree |