Interface CarvingContext.CarveSkipChecker

Enclosing interface:
CarvingContext<C>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@AsOf("4.0.0") @FunctionalInterface public static interface CarvingContext.CarveSkipChecker
Decides whether a position inside an ellipsoid should remain uncarved.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    shouldSkip(CarvingContext<?> context, double xd, double yd, double zd, int y)
    Checks whether an otherwise eligible position should remain uncarved.
  • Method Details

    • shouldSkip

      @AsOf("4.0.0") boolean shouldSkip(CarvingContext<?> context, double xd, double yd, double zd, int y)
      Checks whether an otherwise eligible position should remain uncarved.
      Parameters:
      context - the active carving context
      xd - the normalized x-distance from the ellipsoid center
      yd - the normalized y-distance from the ellipsoid center
      zd - the normalized z-distance from the ellipsoid center
      y - the absolute y-coordinate of the position
      Returns:
      true when the position should remain uncarved
      Since:
      4.0.0