SurfaceEvaluator.getNormalsAtPoints Method
Parent Object:
SurfaceEvaluatorDefined in namespace "adsk::core" and the header file is <Core/Geometry/SurfaceEvaluator.h>
Description
Gets the surface normal at a number of positions on the surface.
Syntax
"surfaceEvaluator_var" is a variable referencing a SurfaceEvaluator object.
(returnValue, normals) = surfaceEvaluator_var.getNormalsAtPoints(points)
|
#include <Core/Geometry/SurfaceEvaluator.h
// Declare the output arguments. Point3D[] points; Vector3D[] normals; boolean returnValue = surfaceEvaluator_var->getNormalsAtPoints(points, normals);
|
Return Value
boolean |
Returns true if the normals were successfully returned. |
Parameters
points |
Point3D[] |
The array of points to return the normal at. For reliable results each point should lie on the surface. |
normals |
Vector3D[] |
The output array of normals for each point on the surface. The length of this array will be the same as the length of the points array provided. |
Version
Introduced in version August 2014