hasIntersection method

bool hasIntersection(
  1. Rectangle<double> b
)

Implementation

bool hasIntersection(math.Rectangle<double> b) {
  final aPointer = calloc();
  final bPointer = b.calloc();
  final result = aPointer.hasIntersection(bPointer);
  ffi.calloc.free(aPointer);
  ffi.calloc.free(bPointer);
  return result;
}