Category Geometry items, Object ProSurface

Function ProSurfaceExtremesEval


Description
Finds the coordinates of the surface edges at the extremes, in the specified direction. The accuracy of this result is limited to the accuracy of the edge tessellation.
Replacement in Object TOOLKIT: pfcSurface::EvalMaximum
pfcSurface::EvalMinimum
Synopsis
#include <ProSurface.h>
ProErrorProSurfaceExtremesEval(
ProSurface p_surface
/* (In)
The surface handle
*/
ProVector dir
/* (In)
The direction of projection
*/
ProVector xyz_min
/* (Out)
The coordinates of the point where the function finds the minimum projection
*/
ProVector xyz_max
/* (Out)
The coordinates of the point where the function finds the maximum projection
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully evaluated the surface.
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

Sample Code References:

  1. pt_examples ( UtilGeom.c )