ILNumerics Ultimate VS

Vector4BaryCentric Method (Vector4, Vector4, Vector4, Single, Single)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
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 Vector4 BaryCentric(
	Vector4 a,
	Vector4 b,
	Vector4 c,
	float u,
	float v
)

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

Return Value

Type: Vector4
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

Reference