Click or drag to resize
SbVec3dSetValue Method (SbVec3d, SbVec3d, SbVec3d, SbVec3d)
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 SbVec3d SetValue(
	ref SbVec3d barycentic,
	ref SbVec3d v0,
	ref SbVec3d v1,
	ref SbVec3d v2
)

Parameters

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

Return Value

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