Click or drag to resize

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

Interpolate 3 Vectors using Barycentric coordinates

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

Parameters

a
Type: Internal.Net3dBoolVector3
First input Vector
b
Type: Internal.Net3dBoolVector3
Second input Vector
c
Type: Internal.Net3dBoolVector3
Third input Vector
u
Type: SystemDouble
First Barycentric Coordinate
v
Type: SystemDouble
Second Barycentric Coordinate

Return Value

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