overlaps method
True if the bounding box of this intersects with the bounding box of curve
.
Implementation
bool overlaps(Bezier curve) {
final thisBox = boundingBox;
final otherBox = curve.boundingBox;
return thisBox.intersectsWithAabb2(otherBox);
}