math.triangle.interp
Syntax
- f = math.triangle.interp(v1,f1,v2,f3,v3,f3,vIn)
Return interpolated value at vIn based on triangle interpolation. The triangle vectors are 2D vectors with a number associated with each vertex. The interpolated value is based on fractional areas of opposite triangles. The point vIn must fall within the triangle.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Sep 26, 2024 |