Public Member Functions | |
float | fuzzy (float input, float zval) const |
Returns the fuzzy value given an input value and the Z value. | |
bool | isValid () const |
Is this trapezoid valid? | |
Trapezoid () | |
Creates an invalid Trapezoid. | |
Trapezoid (const code::XML::Element &e) | |
Parses the XML element and creates a Trapezoid. | |
float | weight () const |
const std::string & | fieldName () const |
Classes | |
struct | Point |
An inflection point on the trapezoid. |
w2pol::Trapezoid::Trapezoid | ( | ) | [inline] |
Creates an invalid Trapezoid.
w2pol::Trapezoid::Trapezoid | ( | const code::XML::Element & | e | ) |
Parses the XML element and creates a Trapezoid.
const std::string& w2pol::Trapezoid::fieldName | ( | ) | const [inline] |
float w2pol::Trapezoid::fuzzy | ( | float | input, | |
float | zval | |||
) | const [inline] |
Returns the fuzzy value given an input value and the Z value.
bool w2pol::Trapezoid::isValid | ( | ) | const [inline] |
Is this trapezoid valid?
float w2pol::Trapezoid::weight | ( | ) | const [inline] |