SurfaceEvaluator.getNormalAtParameter Method
Parent Object:
SurfaceEvaluatorDefined in namespace "adsk::core" and the header file is <Core/Geometry/SurfaceEvaluator.h>
Description
Gets the surface normal at a parameter position on the surface.
Syntax
"surfaceEvaluator_var" is a variable referencing a SurfaceEvaluator object.
(returnValue, normal) = surfaceEvaluator_var.getNormalAtParameter(parameter)
|
#include <Core/Geometry/SurfaceEvaluator.h
// Declare the output arguments. Ptr<Point2D> parameter; Ptr<Vector3D> normal; boolean returnValue = surfaceEvaluator_var->getNormalAtParameter(parameter, normal);
|
Return Value
boolean |
Returns true if the normal was successfully returned. |
Parameters
parameter |
Point2D |
The parameter position to return the normal at. The parameter position must be with the range of the parameter extents as verified by isParameterOnFace. |
normal |
Vector3D |
The output normal for the parameter position on the surface. |
Version
Introduced in version August 2014