Category Geometry items, Object ProEdge

Function ProEdgeVertexdataGet


Description
Finds the neighbors of the edge at the specified end.
Replacement in Object TOOLKIT: wfcWEdge::GetEdgeVertexData
Synopsis
#include <ProEdge.h>
ProErrorProEdgeVertexdataGet(
ProEdge edge_end
/* (In)
The edge "end" handle.
*/
ProType param_type
/* (In)
PRO_EDGE_START or PRO_EDGE_END.
*/
ProEdgelist* p_vertex_arr
/* (Out)
The array of edges meeting at the specified edge end. Use the function ProArrayFree() to free the memory for this argument. If not required, this argument can be NULL.
*/
ProType** p_end_type_arr
/* (Out)
An array of end types of the neighboring edges given by p_vertex_arr. Each end type can either be PRO_EDGE_START or PRO_EDGE_END. Use the function ProArrayFree() to free the memory for this argument. If not required, this argument can be NULL.
*/
ProSurflist* p_surf_arr
/* (Out)
The array of surface adjacent to the edges. Use the function ProArrayFree() to free the memory for this argument. If not required, this argument can be NULL.
*/
int* p_count
/* (Out)
The size of the p_vertex_arr, p_end_type_arr, and p_surf_arr arrays. If not required, this argument can be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the data.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_INVALID_TYPEThe edge is not in visible geometry.
See Also
ProArrayFree

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Fundamentals: Expandable Arrays
  3. Core: 3D Geometry: Visiting Solid Geometry
  4. Core: 3D Geometry: Visiting Solid Geometry

Sample Code References:

  1. pt_examples ( TestGeom.c )