Extremum1D
Description
Represents extremum found in profile.Structure fields and default values (if defined) are described below:
- Integer Index
- Real Point
- Real Value
- ExtremumType Type = Any
struct Extremum1D { Integer Index; Real Point; Real Value; ExtremumType Type; explicit Extremum1D ( ExtremumType Type_ = Any ) : Type(Type_) {} Integer Index() const { return Index; }; Real Point() const { return Point; }; Real Value() const { return Value; }; ExtremumType Type() const { return Type; }; bool operator == ( const avl::Extremum1D& rhs ) const { return Index == rhs.Index && Point == rhs.Point && Value == rhs.Value && Type == rhs.Type; } bool operator != ( const avl::Extremum1D& rhs ) const { return !(operator==(rhs)); } };