new Line2D(tri.a, tri.b), new Line2D(tri.b, tri.c),
new Line2D(tri.c, tri.a)
};
for (Line2D la : ea) {
for (Line2D lb : eb) {
Type type = la.intersectLine(lb).getType();
if (type != Type.NON_INTERSECTING && type != Type.PARALLEL) {
return true;
}
}
}