59 lines
1.6 KiB
Java
59 lines
1.6 KiB
Java
package c.i.e.r.d;
|
|
|
|
import c.i.e.k;
|
|
import c.i.e.n.b;
|
|
import com.google.zxing.NotFoundException;
|
|
/* compiled from: BoundingBox */
|
|
public final class c {
|
|
public final b a;
|
|
public final k b;
|
|
|
|
/* renamed from: c reason: collision with root package name */
|
|
public final k f1437c;
|
|
public final k d;
|
|
public final k e;
|
|
public final int f;
|
|
public final int g;
|
|
public final int h;
|
|
public final int i;
|
|
|
|
public c(b bVar, k kVar, k kVar2, k kVar3, k kVar4) throws NotFoundException {
|
|
boolean z2 = false;
|
|
boolean z3 = kVar == null || kVar2 == null;
|
|
z2 = (kVar3 == null || kVar4 == null) ? true : z2;
|
|
if (!z3 || !z2) {
|
|
if (z3) {
|
|
kVar = new k(0.0f, kVar3.b);
|
|
kVar2 = new k(0.0f, kVar4.b);
|
|
} else if (z2) {
|
|
int i = bVar.i;
|
|
kVar3 = new k((float) (i - 1), kVar.b);
|
|
kVar4 = new k((float) (i - 1), kVar2.b);
|
|
}
|
|
this.a = bVar;
|
|
this.b = kVar;
|
|
this.f1437c = kVar2;
|
|
this.d = kVar3;
|
|
this.e = kVar4;
|
|
this.f = (int) Math.min(kVar.a, kVar2.a);
|
|
this.g = (int) Math.max(kVar3.a, kVar4.a);
|
|
this.h = (int) Math.min(kVar.b, kVar3.b);
|
|
this.i = (int) Math.max(kVar2.b, kVar4.b);
|
|
return;
|
|
}
|
|
throw NotFoundException.k;
|
|
}
|
|
|
|
public c(c cVar) {
|
|
this.a = cVar.a;
|
|
this.b = cVar.b;
|
|
this.f1437c = cVar.f1437c;
|
|
this.d = cVar.d;
|
|
this.e = cVar.e;
|
|
this.f = cVar.f;
|
|
this.g = cVar.g;
|
|
this.h = cVar.h;
|
|
this.i = cVar.i;
|
|
}
|
|
}
|