Struct Extremum

Struct Documentation

struct Extremum

Container holding the properties of an extremum (time, value, segment where it occurred).

Public Functions

Extremum()
Extremum(double _time, double _value, int _segment_idx)
bool operator<(const Extremum &rhs) const
bool operator>(const Extremum &rhs) const

Public Members

double time

Time where the extremum occurs, relative to the segment start.

double value

Value of the extremum at time.

int segment_idx

Index of the segment where the extremum occurs.