SoArithmeticShift Method (SoBufferObject, SbDataType, SoBufferObject, SbDataType, Single) |
B = A + shiftFactor
Note: B can be a reference to A Limitation: typeA must be the same as typeC.
Namespace: OIV.Inventor.AlgorithmsAssembly: OIV.Inventor.Algorithms (in OIV.Inventor.Algorithms.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public int Shift(
SoBufferObject inputBufferA,
SbDataType typeA,
SoBufferObject outputBufferB,
SbDataType typeB,
float shiftFactor
)
Public Function Shift (
inputBufferA As SoBufferObject,
typeA As SbDataType,
outputBufferB As SoBufferObject,
typeB As SbDataType,
shiftFactor As Single
) As Integer
public:
int Shift(
SoBufferObject^ inputBufferA,
SbDataType typeA,
SoBufferObject^ outputBufferB,
SbDataType typeB,
float shiftFactor
)
member Shift :
inputBufferA : SoBufferObject *
typeA : SbDataType *
outputBufferB : SoBufferObject *
typeB : SbDataType *
shiftFactor : float32 -> int
Parameters
- inputBufferA
- Type: OIV.Inventor.DevicesSoBufferObject
- typeA
- Type: OIV.InventorSbDataType
- outputBufferB
- Type: OIV.Inventor.DevicesSoBufferObject
- typeB
- Type: OIV.InventorSbDataType
- shiftFactor
- Type: SystemSingle
Return Value
Type:
Int32Remarks See Also