Category Surface geometry, Object ProRulsrfdata

Function ProRulsrfdataInit


Description
Initializes a ruled surface data structure.
Synopsis
#include <ProSurfacedata.h>
ProErrorProRulsrfdataInit(
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
*/
ProCurvedata* p_curve1
/* (In)
The first curve
*/
ProCurvedata* p_curve2
/* (In)
The second curve
*/
ProSurfaceshapedata* p_surf_shape
/* (Out)
The ruled surface
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully initialized the ruled surface.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_BAD_SRF_CRVInvalid type of curve.
PRO_TK_BSPL_MULTI_INNER_KNOTSThe curve is a B-spline with multiple inner knots.

Manual References:

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

Sample Code References:

  1. pt_examples ( TestGeomdata.c )