hasIntersection method
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;
}