Category Surface geometry, Object ProCylinderdata

Function ProCylinderdataGet


Description
Retrieves information from the cylinder surface data structure.

NOTE:

The function ignores the output arguments with NULL pointers.

Synopsis
#include <ProSurfacedata.h>
ProErrorProCylinderdataGet(
ProSurfaceshapedata* p_surf_shape
/* (In)
The cylinder 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_radius
/* (Out)
The radius of the cylinder
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe input argument is invalid.

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_examples ( TestGeomdata.c )
  3. pt_examples ( UtilIntfData.c )