SurfaceEvaluator.getCurvature Method
Parent Object:
SurfaceEvaluatorDefined in namespace "adsk::core" and the header file is <Core/Geometry/SurfaceEvaluator.h>
Description
Get the curvature values at a parameter positions on the surface.
Syntax
"surfaceEvaluator_var" is a variable referencing a SurfaceEvaluator object.
(returnValue, maxTangent, maxCurvature, minCurvature) = surfaceEvaluator_var.getCurvature(parameter)
|
#include <Core/Geometry/SurfaceEvaluator.h
// Declare the output arguments. Ptr<Point2D> parameter; Ptr<Vector3D> maxTangent; double maxCurvature; double minCurvature; boolean returnValue = surfaceEvaluator_var->getCurvature(parameter, maxTangent, maxCurvature, minCurvature);
|
Return Value
boolean |
Returns true if the curvature was successfully returned. |
Parameters
parameter |
Point2D |
The parameter positions to return curvature information at. |
maxTangent |
Vector3D |
The output directions of maximum curvature at the position on the surface. |
maxCurvature |
double |
The output magnitude of the maximum curvature at the position on the surface. |
minCurvature |
double |
The output magnitude of the minimum curvature at the position on the surface. The minimum curvature direction is perpendicular to the maximum curvature tangent directions. |
Version
Introduced in version August 2014