GetTriangleNodeIndexArray (PolygonMesh) *

Introduced

5.0

Description

Returns the node indices of the polygon subtriangle on which the point locators are defined.

Each node index triplet is guaranteed to correspond to one polygon (the one returned by PolygonMesh.GetPolygonIndexArray). The barycentric position within the triangle can be queried with PolygonMesh.GetTriangleWeightArray.

Warning: This information may in some cases vary between geometry instances having the same topology but different deformations. Since the point locators are defining a precise position on the surface, and since deformations can dynamically change the triangulation within a polygon, it can happen that a point locator is remapped to a different subtriangle (both barycentric weights and subtriangle indices can vary).

An example using this method can be found in PolygonMesh.GetPolygonIndexArray method's description.

Scripting Syntax

PolygonMesh.GetTriangleNodeIndexArray( PointLocators, [Indices] )

C# Syntax

Object PolygonMesh.GetTriangleNodeIndexArray( PointLocatorData in_pPtLocators, Object in_pPointLocatorsIndices );

Parameters

Parameter

Type

Description

PointLocators

PointLocatorData

Point locators to be described.

Indices

1-dimensional Array

Indices of the point locators to be described (all in not specified).

Return Value

2-dimensional Array of index triplets

See Also

PointLocatorData

Geometry

Geometry.GetClosestLocations

Geometry.GetClosestLocationsWithinRadius

Geometry.GetRaycastIntersections

Geometry.SetupPointLocatorQueries

Geometry.GetSurfacePointLocatorsFromPoints

Geometry.EvaluatePositions

Geometry.EvaluateNormals

Geometry.EvaluateClusterProperty

PolygonMesh.GetPolygonIndexArray

PolygonMesh.GetTriangleVertexIndexArray

PolygonMesh.GetTriangleWeightArray

PolygonMesh.ConstructPointLocators

NurbsSurfaceMesh.GetSubSurfaceIndexArray

NurbsSurfaceMesh.GetNormalizedUVArray

NurbsSurfaceMesh.ConstructPointLocators

 

 

 



Autodesk Softimage v7.5