ILNumerics - Technical Application Development
Assembly: ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Interpolate 3 Vectors using Barycentric coordinates
[ILNumerics Visualization Engine]
Namespace: ILNumerics.Drawing
Assembly: ILNumerics.Drawing (in ILNumerics.Drawing.dll) Version: ILNumerics Ultimate VS 4
Syntax
public static void BaryCentric( ref Vector4 a, ref Vector4 b, ref Vector4 c, float u, float v, out Vector4 result )
Parameters
- a
- Type: ILNumerics.DrawingVector4
First input Vector. - b
- Type: ILNumerics.DrawingVector4
Second input Vector. - c
- Type: ILNumerics.DrawingVector4
Third input Vector. - u
- Type: SystemSingle
First Barycentric Coordinate. - v
- Type: SystemSingle
Second Barycentric Coordinate. - result
- Type: ILNumerics.DrawingVector4
Output Vector. a when u=v=0, b when u=1,v=0, c when u=0,v=1, and a linear combination of a,b,c otherwise
Remarks
[ILNumerics Visualization Engine]
See Also