Category Geometry items, Object ProCurve

Function ProCurveToGeomitem


Description
Converts a ProCurve handle to its ProGeomitem handle.
Synopsis
#include <ProGeomitem.h>
ProErrorProCurveToGeomitem(
ProSolid solid
/* (In)
The owner of the curve_handle.
*/
ProCurve curve_handle
/* (In)
The ProCurve handle to convert.
*/
ProGeomitem* r_geom_item
/* (Out)
The ProGeomitem handle for the curve. You must allocate the memory for this structure.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully converted the curve handle to its geometry item handle.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Sample Code References:

  1. pt_examples ( TestGeom.c )
  2. pt_examples ( TestGeom.c )
  3. pt_examples ( UtilGeom.c )