rnet.coordinates.densify#

rnet.coordinates.densify(points, interval)#

Return densified sequence of points.

Points are inserted at a fixed interval between adjacent points.

Parameters
pointsndarray, shape (N, 2)

Original sequence of points.

intervalfloat

Interval between newly added points.

Returns
densifiedndarray, shape (N, 2)

Densified sequence of points.