Geometry.EvaluateNormals
 
 
 

Geometry.EvaluateNormals operator

Introduced

v5.0

Description

Evaluates the normals at the surface locations defined by the point locator data. The returned normals are in geometry's local space reference.

In the case of PolygonMesh, various computation methods are available.

An example using this method can be found in PointLocatorData object's description.

C# Syntax

Object Geometry.EvaluateNormals( PointLocatorData in_pPtLocators, Int32 in_ComputationMethod, Object in_pPointLocatorsIndices );

Scripting Syntax

oArray = Geometry.EvaluateNormals( PointLocators, [ComputationMethod], [Indices] );

Return Value

2-dimensional Array, (the first dimension contains the x,y,z values).

Parameters

Parameter Type Description
PointLocators PointLocatorData Point locators to be evaluated.
ComputationMethod siNormalComputationMethod Normals computation method.

Default Value: siInterpolatedVertexGeometricNormals

Indices 1-dimensional Array Indices of the point locators to be evaluated (all in not specified).

See Also

PointLocatorData Geometry Geometry.GetClosestLocations Geometry.GetClosestLocationsWithinRadius Geometry.GetRaycastIntersections Geometry.SetupPointLocatorQueries Geometry.GetSurfacePointLocatorsFromPoints Geometry.EvaluatePositions Geometry.EvaluateClusterProperty PolygonMesh.GetPolygonIndexArray PolygonMesh.GetTriangleVertexIndexArray PolygonMesh.GetTriangleNodeIndexArray PolygonMesh.GetTriangleWeightArray PolygonMesh.ConstructPointLocators NurbsSurfaceMesh.GetSubSurfaceIndexArray NurbsSurfaceMesh.GetNormalizedUVArray NurbsSurfaceMesh.ConstructPointLocators