Category Geometry items, Object ProGeomitem

Function ProGeomitemToAxis


Description
Converts an axis ProGeomitem handle to a ProAxis handle.
Replacement in Object TOOLKIT: No successor will be provided.
Synopsis
#include <ProGeomitem.h>
ProErrorProGeomitemToAxis(
ProGeomitem* p_geom_item
/* (In)
The axis geometry item handle
*/
ProAxis* r_axis_handle
/* (Out)
The axis handle initialized, based on the input geometry item handle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully converted the geometry item handle to an axis handle.
PRO_TK_BAD_INPUTSThe input geometry item handle is invalid, or does not refer to an axis.

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_examples ( UtilGeom.c )
  3. pt_userguide ( UgDimLocationUtils.c )