Documentation > Mesh Ops Plugin BPLibrary > Project Point to Tri

Project Point to Tri

Projects a Point onto a triangle who's index starts at Tri, clamps its position to the edge if it's not on the triangle.

Inputs

In
Exec

Data
Mesh Data Structure (by ref)

Point
Vector

Tri
Integer

Outputs

Out
Exec

Return Value
Vector

Projects a Point onto a triangle who's index starts at Tri, clamps its position to the edge if it's not on the triangle.