Category Mechanica, Object ProMechsurface

Function ProMechsurfacePrincipalCrvtEval


Description
Finds principal curvatures and directions of the Creo Simulate surface at the given UV point.
Synopsis
#include <ProMechGeometry.h>
ProErrorProMechsurfacePrincipalCrvtEval(
ProMechSurface surface
/* (In)
The surface.
*/
ProUvParam uv_point
/* (In)
The UV point.
*/
double* max_curvature
/* (Out)
Maximum curvature at the point.
*/
double* min_curvature
/* (Out)
Minimum curvature at the point.
*/
ProVector curv_dirs[2]
/* (Out)
Principal directions at the point.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_GENERAL_ERRORA general error is encountered.