Category Geometry items, Object ProGeomitem

Function ProGeomitemDistanceEval


Description
Evaluates the distance between two items.
Synopsis
#include <ProGeomitem.h>
ProErrorProGeomitemDistanceEval(
ProSelection p_selection1
/* (In)
The first item. This can be a point, axis, or planar surface.
*/
ProSelection p_selection2
/* (In)
The second item. This can be a point, axis, or planar surface.
*/
double* p_result
/* (Out)
The resulting distance between the two items.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully evaluated the distance.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: 3D Geometry: Measurement
  3. Core: 3D Geometry: Measurement
  4. User Interface: Selection: ProSelection Function Examples

Sample Code References:

  1. pt_examples ( TestMeasure.c )