Detect intersection