gemgis.visualization.get_points_along_spline
gemgis.visualization.get_points_along_spline#
- gemgis.visualization.get_points_along_spline(spline: pyvista.core.pointset.PolyData, dist: numpy.ndarray)#
Returning the closest point on the spline a given a length along a spline.
- Parameters
spline (pv.core.pointset.PolyData) – Spline with the resampled vertices
dist (np.ndarray) – np.ndarray containing the measured depths (MD) of values along the well path
- Returns
spline.points[idx_list] – PyVista Array containing the selected points
- Return type
pv.core.pyvista_ndarray.pyvista_ndarray
New in version 1.0.x.