Category Geometry items, Object ProGeomitem

Function ProGeomitemToCurve


Description
Converts a curve ProGeomitem handle to a ProCurve handle.
Synopsis
#include <ProGeomitem.h>
ProErrorProGeomitemToCurve(
ProGeomitem* p_geom_item
/* (In)
The curve geometry item handle
*/
ProCurve* r_curve_handle
/* (Out)
The curve handle initialized, based on the input geometry item handle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully converted the geometry item handle to a curve handle.
PRO_TK_BAD_INPUTSThe input geometry item handle is invalid, or does not refer to a curve.

Sample Code References:

  1. pt_examples ( UtilGeom.c )
  2. pt_examples ( TestCollect.c )