API 文件集 > Geometry items > Object ProSurface > Function ProSurfacePrincipalCrvtEval
Function ProSurfacePrincipalCrvtEval
Description
Finds principal curvatures and directions of the surface at the given UV point.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSurface.h>
ProSurfacePrincipalCrvtEval
(
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
The function successfully found the surface area.
The input argument is invalid.
Sample Code References
這是否有幫助?