| Parameter | Description |
|---|---|
| segments | The segments on which to compute the lengths |
| closed | A boolean indicating if the length of the segment joining the first and last points should be computed |
| precision | The precision of the lengths computation |
float[] An array containing the lenghts of the segments
Computes the individual lengths of a segment chain.