Class FloatVoxelType

Object
VoxelDataType
FloatVoxelType

public class FloatVoxelType extends VoxelDataType
A 32-bit voxel data-type representing floating-point numbers, as per the Java primitive float type.
Author:
Owen Feehan
  • Field Details

    • BIT_DEPTH

      public static final int BIT_DEPTH
      How many bits to represent this voxel-type.
      See Also:
    • MAX_VALUE

      public static final long MAX_VALUE
      Minimum supported value for the type.
      See Also:
    • MIN_VALUE

      public static final long MIN_VALUE
      Maximum supported value for the type.
      See Also:
    • INSTANCE

      public static final FloatVoxelType INSTANCE
      A singleton instance of the type.
  • Method Details

    • isInteger

      public boolean isInteger()
      Description copied from class: VoxelDataType
      Whether the data-type represents an integer or floating-point?
      Specified by:
      isInteger in class VoxelDataType
      Returns:
      true if the data-type represents integers only, false if it is float-point.
    • isUnsigned

      public boolean isUnsigned()
      Description copied from class: VoxelDataType
      Whether the data-type is unsigned?
      Specified by:
      isUnsigned in class VoxelDataType
      Returns:
      true if the data-type is unsigned, false if it is signed.