Documentation > Mesh Ops Plugin BPLibrary > Snap Point to Mesh

Snap Point to Mesh

Projects a Point onto a Mesh Data, which iterates over every triangle until a suitable position is found within Tol distance. If Tol is not set, the closest point is returned.

Inputs

In
Exec

Data
Mesh Data Structure (by ref)

Point
Vector

Fast
Boolean

Tol
Float

Outputs

Out
Exec

Success
Boolean

Tri Index
Integer

Return Value
Vector

Projects a Point onto a Mesh Data, which iterates over every triangle until a suitable position is found within Tol distance. If Tol is not set, the closest point is returned.