isValid static method
Implementation
static bool isValid(AABB a) {
double dx = a[2] - a[0];
double dy = a[3] - a[1];
return dx >= 0 &&
dy >= 0 &&
a[0] <= double.maxFinite &&
a[1] <= double.maxFinite &&
a[2] <= double.maxFinite &&
a[3] <= double.maxFinite;
}