public final class Masks
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Mask |
alwaysTrue()
Return a 3D mask that always returns true.
|
static Mask2D |
alwaysTrue2D()
Return a 2D mask that always returns true.
|
static Mask |
asMask(Mask2D mask)
Return a 3-dimensional version of a 2D mask.
|
static Mask |
negate(Mask mask)
Negate the given mask.
|
static Mask2D |
negate(Mask2D mask)
Negate the given mask.
|
public static Mask alwaysTrue()
public static Mask2D alwaysTrue2D()
public static Mask negate(Mask mask)
mask
- the maskpublic static Mask2D negate(Mask2D mask)
mask
- the mask