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: 10.12.3.0 (10.12.3.0)
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