public class ExistingBlockMask extends AbstractExtentMask
Constructor and Description |
---|
ExistingBlockMask(Extent extent)
Create a new existing block map.
|
Modifier and Type | Method and Description |
---|---|
boolean |
test(BlockVector3 vector)
Returns true if the criteria is met.
|
Mask2D |
toMask2D()
Get the 2D version of this mask if one exists.
|
getExtent, setExtent
public ExistingBlockMask(Extent extent)
extent
- the extent to checkpublic boolean test(BlockVector3 vector)
Mask
vector
- the vector to test