neurom.morphmath.path_fraction_point

neurom.morphmath.path_fraction_point(points, fraction)[source]

Computes the point which corresponds to the fraction of the path length along the piecewise linear curve which is constructed from the set of points.

Parameters:
  • points – an iterable of indexable objects with indices
  • 1, 2 correspoding to 3D cartesian coordinates (0,) –
Returns:

The 3D coordinates of the aforementioned point