Category Geometry items, Object ProGeomitem

Function ProGeometryAtPointFind


Description
Determines the surfaces or edges on which the specified point is located. If a point lies on an edge, the function does not return the neighboring surfaces.
Replacement in Object TOOLKIT: wfcWPart::FindGeometry
Synopsis
#include <ProGeomitem.h>
ProErrorProGeometryAtPointFind(
ProPart part
/* (In)
The part handle.
*/
Pro3dPnt point
/* (In)
A three-dimensional point, in the coordinates of the part.
*/
ProSelection** p_sel_arr
/* (Out)
An array of ProSelection, which has information about surfaces or edges on which the point is located. The function allocates space for this array; free it using ProSelectionarrayFree().
*/
int* p_count
/* (Out)
The number of items on which the point lies.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully evaluated the point.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_E_NOT_FOUNDThe surface or edge was not found.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: 3D Geometry: Geometry at Points
  3. Core: 3D Geometry: Geometry at Points

Sample Code References:

  1. pt_examples ( UtilGeom.c )
  2. pt_geardesign ( GearDesignUtils.c )