Category Geometry items, Object ProSurface

Function ProSurfaceParamEval


Description
Finds the closest corresponding UV point on the surface, given the xyz point. NOTE: This function returns the closest point in the geometric surface, not the closest point inside the surface contour (face) specified.
Replacement in Object TOOLKIT: pfcSurface::EvalClosestPoint
pfcSurface::EvalParameters
Synopsis
#include <ProSurface.h>
ProErrorProSurfaceParamEval(
ProSolid solid_handle
/* (In)
The owner of the surface.
*/
ProSurface surface
/* (In)
The surface handle.
*/
ProVector xyz_point
/* (In)
The XYZ point. The point does not necessarily have to lie on the surface. If the point is off the surface, the function finds the closest surface point.
*/
ProUvParam uv_point
/* (Out)
The corresponding UV point on the surface.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully evaluated the point.
PRO_TK_BAD_INPUTSOne or more of input arguments are invalid.
PRO_TK_E_NOT_FOUNDProjection of the point to the surface was not found.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Core: 3D Geometry: Surface Tessellation
  3. Core: 3D Geometry: Inverse Evaluation and Minimum Distances
  4. Core: 3D Geometry: Inverse Evaluation and Minimum Distances

Sample Code References:

  1. pt_examples ( TestAnalysisCsys.c )
  2. pt_examples ( TestAnalysisSrfCurve.c )
  3. pt_examples ( UtilGeom.c )
  4. pt_userguide ( UgExtAnalysisSurfcsys.c )
  5. pt_userguide ( UgExtobjCreate.c )