public class CombineTypes extends Object
VoxelDataType
to use when combining two other voxel-data types, but
without losing precision.Modifier and Type | Method and Description |
---|---|
static VoxelDataType |
combineTypes(VoxelDataType type1,
VoxelDataType type2)
What data-type to use to represent voxels of both
type1 and type2 ? |
public static VoxelDataType combineTypes(VoxelDataType type1, VoxelDataType type2) throws CreateException
type1
and type2
?
Only the following types are supported:
type1
- the first voxel data type.type2
- the second voxel data type.type1
and type2
.CreateException
- if either type1
or type2
is an unsupported type.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.