Click or drag to resize
SoArithmeticMadd Method (SoBufferObject, SbDataType, SoBufferObject, SbDataType, SoBufferObject, SbDataType, Single)

C = A * scale + B Note: C can be a reference to A or B Limitation: typeA and typeB must be the same as typeC.

Namespace: OIV.Inventor.Algorithms
Assembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public int Madd(
	SoBufferObject inputBufferA,
	SbDataType typeA,
	SoBufferObject inputBufferB,
	SbDataType typeB,
	SoBufferObject outputBufferC,
	SbDataType typeC,
	float scaleValue
)

Parameters

inputBufferA
Type: OIV.Inventor.DevicesSoBufferObject
typeA
Type: OIV.InventorSbDataType
inputBufferB
Type: OIV.Inventor.DevicesSoBufferObject
typeB
Type: OIV.InventorSbDataType
outputBufferC
Type: OIV.Inventor.DevicesSoBufferObject
typeC
Type: OIV.InventorSbDataType
scaleValue
Type: SystemSingle

Return Value

Type: Int32
Remarks