Category Geometry items, Object ProSurface

Function ProSurfacePrincipalCrvtEval


Description
Finds principal curvatures and directions of the surface at the given UV point.
Replacement in Object TOOLKIT: pfcSurface::EvalPrincipalCurv
Synopsis
#include <ProSurface.h>
ProErrorProSurfacePrincipalCrvtEval(
ProSurface p_srf_handle
/* (In)
The surface handle
*/
ProUvParam uv_point
/* (In)
The point on the surface
*/
double* r_max_curvature
/* (Out)
Maximum curvature at the point
*/
double* r_min_curvature
/* (Out)
Minimum curvature at the point
*/
ProVector r_curv_dirs[2]
/* (Out)
Principal directions at the point
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully found the surface area.
PRO_TK_BAD_SRF_CRVThe input argument is invalid.

Manual References:

  1. Core: 3D Geometry: Surface Tessellation
  2. Core: 3D Geometry: Measurement
  3. Core: 3D Geometry: Measurement

Sample Code References:

  1. pt_examples ( TestGeom.c )