Click or drag to resize

Vector3BaryCentric(Vector3, Vector3, Vector3, Double, Double) 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 Vector3 BaryCentric(
	Vector3 a,
	Vector3 b,
	Vector3 c,
	double u,
	double v
)

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

Return Value

Vector3
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