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.
Decides whether a position inside an ellipsoid should remain uncarved.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldSkip(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 contextxd- the normalized x-distance from the ellipsoid centeryd- the normalized y-distance from the ellipsoid centerzd- the normalized z-distance from the ellipsoid centery- the absolute y-coordinate of the position- Returns:
- true when the position should remain uncarved
- Since:
- 4.0.0
-