Class CombineTypes
Object
CombineTypes
Calculates which
VoxelDataType to use when combining two other voxel-data types, but
without losing precision.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic VoxelDataTypecombineTypes(VoxelDataType type1, VoxelDataType type2) What data-type to use to represent voxels of bothtype1andtype2?
-
Method Details
-
combineTypes
public static VoxelDataType combineTypes(VoxelDataType type1, VoxelDataType type2) throws CreateException What data-type to use to represent voxels of bothtype1andtype2?Only the following types are supported:
- Parameters:
type1- the first voxel data type.type2- the second voxel data type.- Returns:
- the data-type to use to combine
type1andtype2. - Throws:
CreateException- if eithertype1ortype2is an unsupported type.
-