function pointer array for intersection function