Vector3BaryCentric Method (Vector3, Vector3, Vector3, Double, Double, Vector3) |
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 public static void BaryCentric(
ref Vector3 a,
ref Vector3 b,
ref Vector3 c,
double u,
double v,
out Vector3 result
)
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. - result
- Type: Internal.Net3dBoolVector3
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