tween_points_distance

compas.geometry.tween_points_distance(points1, points2, dist, index=None)[source]

Compute an interpolated set of points between two sets of points, at a given distance.

Parameters
  • points1 (list) – The first set of points

  • points2 (list) – The second set of points

  • dist (float) – The distance from the first set to the second at which to compute the interpolated set.

  • index (int) – The index of the point in the first set from which to calculate the distance to the second set. If no value is given, the first point will be used.

Returns

list – List of points