Click or drag to resize
SbVec3fSetValue Method (SbVec3f, SbVec3f, SbVec3f, SbVec3f)
Sets value of vector as the weighted average of 3 other vectors.

Namespace: OIV.Inventor
Assembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax
public SbVec3f SetValue(
	ref SbVec3f barycentic,
	ref SbVec3f v0,
	ref SbVec3f v1,
	ref SbVec3f v2
)

Parameters

barycentic
Type: OIV.InventorSbVec3f
Weight vector.
v0
Type: OIV.InventorSbVec3f
First input vector.
v1
Type: OIV.InventorSbVec3f
Second input vector.
v2
Type: OIV.InventorSbVec3f
Third input vector.

Return Value

Type: SbVec3f
this vector.
Remarks
this = v0 * barycentic[0] + v1 * barycentic[1] + v2 * barycentic[2];
See Also