Category Surface geometry, Object ProTorusdata

Function ProTorusdataInit


Description
Initializes a torus surface data structure.
Synopsis
#include <ProSurfacedata.h>
ProErrorProTorusdataInit(
ProVector e1
/* (In)
The X-axis of the coordinate system
*/
ProVector e2
/* (In)
The Y-axis of the coordinate system
*/
ProVector e3
/* (In)
The Z-axis of the coordinate system
*/
Pro3dPnt origin
/* (In)
The origin of the coordinate system
*/
double radius1
/* (In)
The value of the first radius
*/
double radius2
/* (In)
The value of the second radius
*/
ProSurfaceshapedata* p_surf_shape
/* (Out)
The torus surface
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the torus surface.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Interface: Importing Features: Adding Surfaces
  2. Interface: Importing Features: Adding Surfaces

Sample Code References:

  1. pt_examples ( TestGeomdata.c )
  2. pt_userguide ( UgImportfeatCreate.c )
  3. pt_userguide ( UgImportfeatCreate.c )