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.AlgorithmsAssembly: 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
)
Public Function Madd (
inputBufferA As SoBufferObject,
typeA As SbDataType,
inputBufferB As SoBufferObject,
typeB As SbDataType,
outputBufferC As SoBufferObject,
typeC As SbDataType,
scaleValue As Single
) As Integer
public:
int Madd(
SoBufferObject^ inputBufferA,
SbDataType typeA,
SoBufferObject^ inputBufferB,
SbDataType typeB,
SoBufferObject^ outputBufferC,
SbDataType typeC,
float scaleValue
)
member Madd :
inputBufferA : SoBufferObject *
typeA : SbDataType *
inputBufferB : SoBufferObject *
typeB : SbDataType *
outputBufferC : SoBufferObject *
typeC : SbDataType *
scaleValue : float32 -> int
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:
Int32Remarks See Also