Category Geometry items, Object ProGeomitem

Function ProGeomitemToEdge


Description
Converts an edge ProGeomitem handle to a ProEdge handle.
Replacement in Object TOOLKIT: pfcGeomCurve::GetCurveDescriptor
Synopsis
#include <ProGeomitem.h>
ProErrorProGeomitemToEdge(
ProGeomitem* p_geom_item
/* (In)
The edge geometry item handle
*/
ProEdge* r_edge_handle
/* (Out)
The edge handle initialized, based on the input geometry item handle
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully converted the geometry item handle to an edge handle.
PRO_TK_BAD_INPUTSThe input geometry item handle is invalid, or does not refer to an edge.

Sample Code References:

  1. pt_examples ( TestAnalysisSurface.c )
  2. pt_examples ( TestAnalysisSurface.c )
  3. pt_examples ( UtilGeom.c )
  4. pt_examples ( UtilSect.c )
  5. pt_userguide ( UgSmtExtendWallCreate.c )
  6. pt_userguide ( UgSmtFlatWallCreate.c )
  7. pt_userguide ( UgSmtFlatWallCreate.c )
  8. pt_userguide ( UgGeomArcDiaDisp.c )
  9. pt_userguide ( UgGeomCurveLength.c )
  10. pt_userguide ( UgGeomHoleSrfDisp.c )