Category Geometry items, Object ProSurface

Function ProSurfaceNextGet


Description
Returns the next surface in the surface list (or NULL, if there is no next surface) Note: If the model geometry has changed, the next surface must be obtained again.
Replacement in Object TOOLKIT: wfcWSurface::GetNextSurface
Synopsis
#include <ProSurface.h>
ProErrorProSurfaceNextGet(
ProSurface this_surface
/* (In)
the surface for which the next surface is queried; can be NULL.
*/
ProSurface* p_next_surface
/* (Out)
a non-NULL pointer for returning the next surface; if this_surface is the last in the list (or this_surface is NULL) then the returned surface will be NULL
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSp_next_surface is passed NULL.

Manual References:

  1. Core: 3D Geometry: Geometry of Surfaces

Sample Code References:

  1. pt_userguide ( UgXsecList.c )