Click or drag to resize
SoArithmeticAdd Method (SoBufferObject, SbDataType, SoBufferObject, SbDataType, SoBufferObject, SbDataType)

Add two buffers into a third one.

Namespace: OIV.Inventor.Algorithms
Assembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public int Add(
	SoBufferObject inputBufferA,
	SbDataType typeA,
	SoBufferObject inputBufferB,
	SbDataType typeB,
	SoBufferObject outputBufferC,
	SbDataType typeC
)

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

Return Value

Type: Int32
Remarks

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

See Also