object VoxelKey extends Serializable

Typeclass instances. These (particularly Boundable) are necessary for when a layer's key type is parameterized as K.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VoxelKey
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. implicit def ordering[A <: VoxelKey]: Ordering[A]
  2. implicit val spatialComponent: Component[VoxelKey, SpatialKey]

    Since VoxelKey has x and y coordinates, it can take advantage of the SpatialComponent lens.

    Since VoxelKey has x and y coordinates, it can take advantage of the SpatialComponent lens. Lenses are essentially "getters and setters" that can be used in highly generic code.

  3. implicit val voxelKeyDecoder: Decoder[VoxelKey]
  4. implicit val voxelKeyEncoder: Encoder[VoxelKey]
  5. implicit object Boundable extends Boundable[VoxelKey]