Category Geometry items, Object ProSurface

Function ProSurfaceDiameterEval


Description
Finds the surface diameter in the specified UV point.
Replacement in Object TOOLKIT: pfcSurface::EvalDiameter
Synopsis
#include <ProSurface.h>
ProErrorProSurfaceDiameterEval(
ProSurface p_surface
/* (In)
The surface handle. Only revolved surfaces are allowed (cylinder, cone, and so on).
*/
ProUvParam uv_point
/* (In)
The UV point. This is ignored when the surface diameter is constant.
*/
double* p_diameter
/* (Out)
The resulting diameter.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully evaluated the diameter.
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: Surface Tessellation
  3. Core: 3D Geometry: Measurement
  4. Core: 3D Geometry: Measurement

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_examples ( TestMeasure.c )