Category Geometry items, Object ProGeomitem

Function ProGeomitemToPoint


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

Sample Code References:

  1. pt_examples ( UtilGeom.c )