intersectsWithQuad method
Return if this intersects with other
.
epsilon
allows the caller to specify a custum eplsilon value that should
be used for the test. If result
is specified and an intersection is
found, result is modified to contain more details about the type of
intersection.
Implementation
bool intersectsWithQuad(Quad other, {IntersectionResult result}) {
other.copyTriangles(_quadTriangle0, _quadTriangle1);
return intersectsWithTriangle(_quadTriangle0, result: result) ||
intersectsWithTriangle(_quadTriangle1, result: result);
}