SbImageDataAccessorRegionGetPosition Method |
Returns position of the ith voxel in the region.
Namespace: OIV.ImageVizAssembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 9.9.13.0 (9.9.13.0)
SyntaxSbVec4i32 GetPosition(
ulong i
)
Function GetPosition (
i As ULong
) As SbVec4i32
SbVec4i32 GetPosition(
unsigned long long i
)
abstract GetPosition :
i : uint64 -> SbVec4i32
Parameters
- i
- Type: SystemUInt64
Return Value
Type:
SbVec4i32
Remarksex: If it is a line, 0 is the begining of the line, then 1, 2, 3, ... represent voxels accross the line.
Throws out of range exception if i >= getNumVoxel()
See Also