Interface ProcessVoxelBufferBinaryMixed<S,T>

Type Parameters:
S - first buffer-type
T - second buffer-type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ProcessVoxelBufferBinaryMixed<S,T>
Processes a 3D point like ProcessVoxelBufferBinary but rather has one VoxelBuffer and one buffer, and also exposes a Point3i.
Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(Point3i point, VoxelBuffer<S> buffer1, T buffer2, int offset)
    Processes a voxel location in a buffer
  • Method Details

    • process

      void process(Point3i point, VoxelBuffer<S> buffer1, T buffer2, int offset)
      Processes a voxel location in a buffer
      Parameters:
      point - a point with global coordinates
      buffer1 - first VoxelBuffer for the current slice for which offset refers to a particular location
      buffer2 - second buffer for the current slice for which offset refers to a particular location
      offset - an offset value for the current slice (i.e. indexing XY only, but not Z)