Category Selection, Object ProSelection

Function ProSelectionDepthGet


Description
Gets the selection depth, in screen coordinates.
Replacement in Object TOOLKIT: pfcSelection::Depth
Synopsis
#include <ProSelection.h>
ProErrorProSelectionDepthGet(
ProSelection selection
/* (In)
The selection object
*/
double* depth
/* (Out)
The selection depth, in screen coordinates
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the information.
PRO_TK_BAD_INPUTSThe selection or depth is NULL.
PRO_TK_INVALID_PTRThe selection argument is an invalid pointer.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Techniques of Conversion and Mixing
  2. Core: 3D Geometry: Ray Tracing
  3. User Interface: Selection: The Selection Object
  4. User Interface: Selection: Unpacking a ProSelection Object

Sample Code References:

  1. pt_examples ( TestRay.c )
  2. pt_examples ( TestSelect.c )