SoArithmeticAdd Method (SoBufferObject, SbDataType, SoBufferObject, SbDataType, SoBufferObject, SbDataType) |
Add two buffers into a third one.
Namespace: OIV.Inventor.AlgorithmsAssembly: 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
)
Public Function Add (
inputBufferA As SoBufferObject,
typeA As SbDataType,
inputBufferB As SoBufferObject,
typeB As SbDataType,
outputBufferC As SoBufferObject,
typeC As SbDataType
) As Integer
public:
int Add(
SoBufferObject^ inputBufferA,
SbDataType typeA,
SoBufferObject^ inputBufferB,
SbDataType typeB,
SoBufferObject^ outputBufferC,
SbDataType typeC
)
member Add :
inputBufferA : SoBufferObject *
typeA : SbDataType *
inputBufferB : SoBufferObject *
typeB : SbDataType *
outputBufferC : SoBufferObject *
typeC : SbDataType -> 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
Return Value
Type:
Int32Remarks
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