Category Surface geometry, Object ProCylinderdata

Function ProCylinderdataInit


Description
Initializes a cylinder surface data structure.
Synopsis
#include <ProSurfacedata.h>
ProErrorProCylinderdataInit(
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 radius
/* (In)
The radius of the cylinder
*/
ProSurfaceshapedata* p_surf_shape
/* (Out)
The cylinder surface
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the cylinder 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 )