Click or drag to resize

Vector3BaryCentric(Vector3, Vector3, Vector3, Double, Double, Vector3) Method

Interpolate 3 Vectors using Barycentric coordinates

Namespace: Internal.Net3dBool
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void BaryCentric(
	ref Vector3 a,
	ref Vector3 b,
	ref Vector3 c,
	double u,
	double v,
	out Vector3 result
)

Parameters

a  Vector3
First input Vector.
b  Vector3
Second input Vector.
c  Vector3
Third input Vector.
u  Double
First Barycentric Coordinate.
v  Double
Second Barycentric Coordinate.
result  Vector3
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
See Also