public class DistancePredicate
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DistancePredicate |
ANY |
Constructor and Description |
---|
DistancePredicate(MinMaxBounds x,
MinMaxBounds y,
MinMaxBounds z,
MinMaxBounds horizontal,
MinMaxBounds absolute) |
Modifier and Type | Method and Description |
---|---|
static DistancePredicate |
deserialize(com.google.gson.JsonElement element) |
boolean |
test(double x1,
double y1,
double z1,
double x2,
double y2,
double z2) |
public static final DistancePredicate ANY
public DistancePredicate(MinMaxBounds x, MinMaxBounds y, MinMaxBounds z, MinMaxBounds horizontal, MinMaxBounds absolute)
public boolean test(double x1, double y1, double z1, double x2, double y2, double z2)
public static DistancePredicate deserialize(@Nullable com.google.gson.JsonElement element)