equal_interval_points
cellseg_gsontools.lines.equal_interval_points(obj, n=None, delta=None)
¶
Resample the points of a shapely object at equal intervals.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
obj |
Any
|
Any shapely object that has length property. |
required |
n |
int
|
Number of points, defaults to None |
None
|
delta |
float
|
Distance between points, defaults to None |
None
|
Returns:
Name | Type | Description |
---|---|---|
points |
ndarray
|
Array of points at equal intervals along the input object. |