Category Geometry items, Object ProSurface

Function ProSurfacePeriodicityGet


Description
Provides the periodicity data of a surface. Warning: . The function only returns periodicity flags as stored by Creo, not the actual geometric periodicity. Even if the actual geometry of the surface is periodic in u or v direction but is not marked as periodic by Creo, this function will not attempt to recognize it and will return PRO_B_FALSE.
Synopsis
#include <ProSurface.h>
ProErrorProSurfacePeriodicityGet(
ProSurface surface
/* (In)
the surface. Cannot be NULL.
*/
ProBoolean* periodic_in_u
/* (Out)
periodicity in u-direction. Can be NULL.
*/
double* period_in_u
/* (Out)
the value of the period in u-direction. Can be NULL.
*/
ProBoolean* periodic_in_v
/* (Out)
periodicity in v-direction. Can be NULL.
*/
double* period_in_v
/* (Out)
the value of the period in v-direction. Can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSsurface is NILL.

Manual References:

  1. Core: 3D Geometry: Geometry of Surfaces
  2. Core: 3D Geometry: Geometry of Surfaces