API 文件集 > Geometry items > Object ProSurface > Function ProSldsurfaceShellsAndVoidsFind
Function ProSldsurfaceShellsAndVoidsFind
Description
For each shell and void of this solid, returns surface-contour pairs which describe them.
NOTE: When the surface is split into a few pieces (has more than one external contour) these pieces may belong to different shells. Hence, each shell face has to be described by a pair (surface id, ProContour) - see ProSldsurfaceShellface.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSurface.h>
ProSldsurfaceShellsAndVoidsFind
(
ProSolid solid
/* (In)
The solid handle. Cannot be NULL.
*/
/* (Out)
ProArray of ProSldsurfaceShellorder structures. The function allocates the memory for this argument. Cannot be NULL. Free this output using ProArrayFree().
*/
/* (Out)
ProArray of ProSldsurfaceShellface structures. For each shell or void, their faces take a contingent segment in this array. The function allocates the memory for this argument. Cannot be NULL. Free this output using ProArrayFree().
*/
)
Returns
The function successfully performed the task.
NULL was passed for some arguments.
The solid has no geometry.
the topology of solid is not valid.
這是否有幫助?