Click or drag to resize
SbImageDataVoxelCastValueT Method
Casts value at specifed index to the proper type.

Namespace: OIV.ImageViz
Assembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public T CastValue<T>(
	ulong index
)
where T : struct, new()

Parameters

index
Type: SystemUInt64
Value's index

Type Parameters

T
Type to cast to.

Return Value

Type: T
Exceptions
ExceptionCondition
ArgumentOutOfRangeException if index is greater than
GetChannelType().Num
.
See Also