Category Surface geometry, Object ProTorusdata

Function ProTorusdataGet


Description
Retrieves information from the torus surface data structure.

NOTE:

The function ignores the output arguments with NULL pointers.

Synopsis
#include <ProSurfacedata.h>
ProErrorProTorusdataGet(
ProSurfaceshapedata* p_surf_shape
/* (In)
The torus surface data structure
*/
ProVector e1
/* (Out)
The X-axis of the coordinate system
*/
ProVector e2
/* (Out)
The Y-axis of the coordinate system
*/
ProVector e3
/* (Out)
The Z-axis of the coordinate system
*/
Pro3dPnt origin
/* (Out)
The origin of the coordinate system
*/
double* p_radius1
/* (Out)
The value of the first radius
*/
double* p_radius2
/* (Out)
The value of the second radius
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Sample Code References:

  1. pt_examples ( TestGeomdata.c )
  2. pt_examples ( UtilIntfData.c )