Class SurfaceMask

All Implemented Interfaces:
ResettableMask, Resettable, Mask

public class SurfaceMask extends AdjacentAnyMask
  • Constructor Details

    • SurfaceMask

      public SurfaceMask(Extent extent)
  • Method Details

    • getMask

      public static AbstractExtentMask getMask(Extent extent)
    • test

      public boolean test(BlockVector3 v)
      Description copied from interface: Mask
      Returns true if the criteria is met.
      Specified by:
      test in interface Mask
      Overrides:
      test in class AdjacentAnyMask
      Parameters:
      v - the vector to test
      Returns:
      true if the criteria is met
    • copy

      public Mask copy()
      Description copied from interface: Mask
      Returns a copy of the mask. Usually for multi-threaded operation
      Specified by:
      copy in interface Mask
      Overrides:
      copy in class AdjacentAnyMask
      Returns:
      a clone of the mask