Skip to content

Function: segmentsOf() ​

ts
function segmentsOf(p): readonly Segment[];

Defined in: pwl.ts:81

The segments of a piecewise-linear value; a line is one segment.

Parameters ​

p ​

Pwl

Returns ​

readonly Segment[]