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.1.1.Release.7989217834dd2b99155f267b6c8c70f9feacdedd
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