resqpy.grid_surface.trajectory_grid_overlap

resqpy.grid_surface.trajectory_grid_overlap(trajectory, grid, lazy=False)[source]

Returns True if there is some overlap of the xyz boxes for the trajectory and grid, False otherwise.

Notes

overlap of the xyz boxes does not guarantee that the trajectory intersects the grid; a return value of False guarantees that the trajectory does not intersect the grid