PolygonMesh.GetTriangleNodeIndexArray operator

導入

v5.0

詳細

ポイントロケータが定義されているポリゴンサブトライアングルのノードインデックスを戻します。

各ノードインデックストリプレットは必ず1 つのポリゴンに対応します(PolygonMesh.GetPolygonIndexArray によって戻されるポリゴン)。トライアングルの重心位置は PolygonMesh.GetTriangleWeightArray を使用してクエリできます。

警告:同じトポロジを持っているジオメトリインスタンス間でもデフォーメーションが異なる場合は、この情報が変わる場合があります。このポイントの位置はサーフェイス上の位置を正確に定義し、デフォーメーションはポリゴン内の三角形分割を動的に変更するため、ポイントロケータが別のサブトライアングルに割り当てられる可能性があります(重心ウェイトとサブトライアングルインデックスが変わる場合があります)。

このメソッドの使用例については、PolygonMesh.GetPolygonIndexArray メソッドの説明を参照してください。

C#構文

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

スクリプト構文

oArray = PolygonMesh.GetTriangleNodeIndexArray( PointLocators, [Indices] );

戻り値

3 つのインデックスの 2D Array

パラメータ

パラメータ タイプ 説明
PointLocators PointLocatorData ポイントロケータは記述されます。
Indices 1DArray 記述するポイントロケータのインデックス(無指定の場合はすべてのポイントロケータが対象となります)。

関連項目

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