SbVec3dSetValue Method (SbVec3d, SbVec3d, SbVec3d, SbVec3d) |
Sets value of vector as the weighted average of 3 other vectors.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2024.2.2.Release.778f4cc64de03c89c1282c66aa1f73c0e9a1408b
Syntax public SbVec3d SetValue(
SbVec3d barycentic,
SbVec3d v0,
SbVec3d v1,
SbVec3d v2
)
Public Function SetValue (
barycentic As SbVec3d,
v0 As SbVec3d,
v1 As SbVec3d,
v2 As SbVec3d
) As SbVec3d
public:
SbVec3d SetValue(
SbVec3d barycentic,
SbVec3d v0,
SbVec3d v1,
SbVec3d v2
)
member SetValue :
barycentic : SbVec3d *
v0 : SbVec3d *
v1 : SbVec3d *
v2 : SbVec3d -> SbVec3d
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:
SbVec3dthis vector.
Remarks this = v0 * barycentic[0] + v1 * barycentic[1] + v2 * barycentic[2];
See Also