gemgis.utils.ray_trace_one_surface
gemgis.utils.ray_trace_one_surface#
- gemgis.utils.ray_trace_one_surface(surface: Union[pyvista.core.pointset.PolyData, pyvista.core.pointset.UnstructuredGrid], origin: Union[numpy.ndarray, list], end_point: Union[numpy.ndarray, list], first_point: bool = False) tuple #
Function to return the depth of one surface in one well using PyVista ray tracing
- Parameters
surface (Union[pv.core.pointset.PolyData, pv.core.pointset.UnstructuredGrid]) – Calculated or clipped GemPy surface
origin – Coordinates of the top of the well
end_point – Coordinates of the bottom of the well
first_point (bool) – Returns intersection of first point only
- Returns
intersection_points, intersection_cells – Location of the intersection points, Indices of the intersection cells
- Return type
tuple
New in version 1.0.x.