Documentation > Mesh Ops Plugin BPLibrary > Next Triangle

Next Triangle

Gets index of triangle Point+Dir is in, based off of the mapped surface. Returns same triangle if it remains inside. Use MapSurface as Map input.

Inputs

In
Exec

Data
Mesh Data Structure (by ref)

Map
Map of Tri Edge Structures to Tri Edge Structures

Tri
Integer

Point
Vector

Dir
Vector

Outputs

Out
Exec

Out
Vector

Out Dir
Vector

Return Value
Integer

Gets index of triangle Point+Dir is in, based off of the mapped surface. Returns same triangle if it remains inside. Use MapSurface as Map input.