src/model/CurveTriquadratic.cpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #include "CurveTriquadratic.hpp" | ||
| 7 | #include "CurveTriquadratic_Impl.hpp" | ||
| 8 | |||
| 9 | #include <utilities/idd/IddFactory.hxx> | ||
| 10 | |||
| 11 | #include <utilities/idd/OS_Curve_Triquadratic_FieldEnums.hxx> | ||
| 12 | #include <utilities/idd/IddEnums.hxx> | ||
| 13 | |||
| 14 | #include "../utilities/core/Assert.hpp" | ||
| 15 | |||
| 16 | #include <cmath> | ||
| 17 | |||
| 18 | using namespace std; | ||
| 19 | |||
| 20 | namespace openstudio { | ||
| 21 | namespace model { | ||
| 22 | |||
| 23 | namespace detail { | ||
| 24 | |||
| 25 | 19 | CurveTriquadratic_Impl::CurveTriquadratic_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle) | |
| 26 | 19 | : Curve_Impl(idfObject, model, keepHandle) { | |
| 27 |
4/6✓ Branch 1 taken 19 times.
✓ Branch 4 taken 19 times.
✓ Branch 7 taken 19 times.
✗ Branch 10 not taken.
✓ Branch 11 taken 19 times.
✗ Branch 13 not taken.
|
19 | OS_ASSERT(idfObject.iddObject().type() == CurveTriquadratic::iddObjectType()); |
| 28 | 19 | } | |
| 29 | |||
| 30 | ✗ | CurveTriquadratic_Impl::CurveTriquadratic_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle) | |
| 31 | ✗ | : Curve_Impl(other, model, keepHandle) { | |
| 32 | ✗ | OS_ASSERT(other.iddObject().type() == CurveTriquadratic::iddObjectType()); | |
| 33 | ✗ | } | |
| 34 | |||
| 35 | 11 | CurveTriquadratic_Impl::CurveTriquadratic_Impl(const CurveTriquadratic_Impl& other, Model_Impl* model, bool keepHandle) | |
| 36 | 11 | : Curve_Impl(other, model, keepHandle) {} | |
| 37 | |||
| 38 | ✗ | const std::vector<std::string>& CurveTriquadratic_Impl::outputVariableNames() const { | |
| 39 | static const std::vector<std::string> result{"Performance Curve Output Value", "Performance Curve Input Variable 1 Value", | ||
| 40 | ✗ | "Performance Curve Input Variable 2 Value", "Performance Curve Input Variable 3 Value"}; | |
| 41 | ✗ | return result; | |
| 42 | ✗ | } | |
| 43 | |||
| 44 | ✗ | IddObjectType CurveTriquadratic_Impl::iddObjectType() const { | |
| 45 | ✗ | return CurveTriquadratic::iddObjectType(); | |
| 46 | } | ||
| 47 | |||
| 48 | ✗ | int CurveTriquadratic_Impl::numVariables() const { | |
| 49 | ✗ | return 3; | |
| 50 | } | ||
| 51 | |||
| 52 | 20 | double CurveTriquadratic_Impl::evaluate(const std::vector<double>& independentVariables) const { | |
| 53 |
1/2✗ Branch 1 not taken.
✓ Branch 2 taken 20 times.
|
20 | OS_ASSERT(independentVariables.size() == 3u); |
| 54 | |||
| 55 | // TODO: I think minimumValueofx/y/z etc shouldn't be optionals to match other curves... | ||
| 56 | |||
| 57 | 20 | double x = independentVariables[0]; | |
| 58 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (boost::optional<double> _val = minimumValueofx()) { |
| 59 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 4 times.
✓ Branch 4 taken 16 times.
|
20 | if (x < _val.get()) { |
| 60 |
5/5✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
|
4 | LOG(Warn, "Supplied x is below the minimumValueofx, resetting it."); |
| 61 |
1/1✓ Branch 1 taken 4 times.
|
4 | x = _val.get(); |
| 62 | } | ||
| 63 | } | ||
| 64 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (boost::optional<double> _val = maximumValueofx()) { |
| 65 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 4 times.
✓ Branch 4 taken 16 times.
|
20 | if (x > _val.get()) { |
| 66 |
5/5✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
|
4 | LOG(Warn, "Supplied x is above the maximumValueofx, resetting it."); |
| 67 |
1/1✓ Branch 1 taken 4 times.
|
4 | x = _val.get(); |
| 68 | } | ||
| 69 | } | ||
| 70 | |||
| 71 | 20 | double y = independentVariables[1]; | |
| 72 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (boost::optional<double> _val = minimumValueofy()) { |
| 73 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 4 times.
✓ Branch 4 taken 16 times.
|
20 | if (y < _val.get()) { |
| 74 |
5/5✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
|
4 | LOG(Warn, "Supplied y is below the minimumValueofy, resetting it."); |
| 75 |
1/1✓ Branch 1 taken 4 times.
|
4 | y = _val.get(); |
| 76 | } | ||
| 77 | } | ||
| 78 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (boost::optional<double> _val = maximumValueofy()) { |
| 79 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 4 times.
✓ Branch 4 taken 16 times.
|
20 | if (y > _val.get()) { |
| 80 |
5/5✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
|
4 | LOG(Warn, "Supplied y is above the maximumValueofy, resetting it."); |
| 81 |
1/1✓ Branch 1 taken 4 times.
|
4 | y = _val.get(); |
| 82 | } | ||
| 83 | } | ||
| 84 | |||
| 85 | 20 | double z = independentVariables[2]; | |
| 86 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (boost::optional<double> _val = minimumValueofz()) { |
| 87 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 4 times.
✓ Branch 4 taken 16 times.
|
20 | if (z < _val.get()) { |
| 88 |
5/5✓ Branch 1 taken 4 times.
✓ Branch 4 taken 4 times.
✓ Branch 7 taken 4 times.
✓ Branch 10 taken 4 times.
✓ Branch 13 taken 4 times.
|
4 | LOG(Warn, "Supplied z is below the minimumValueofz, resetting it."); |
| 89 |
1/1✓ Branch 1 taken 4 times.
|
4 | z = _val.get(); |
| 90 | } | ||
| 91 | } | ||
| 92 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (boost::optional<double> _val = maximumValueofz()) { |
| 93 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 2 times.
✓ Branch 4 taken 18 times.
|
20 | if (z > _val.get()) { |
| 94 |
5/5✓ Branch 1 taken 2 times.
✓ Branch 4 taken 2 times.
✓ Branch 7 taken 2 times.
✓ Branch 10 taken 2 times.
✓ Branch 13 taken 2 times.
|
2 | LOG(Warn, "Supplied z is above the maximumValueofz, resetting it."); |
| 95 |
1/1✓ Branch 1 taken 2 times.
|
2 | z = _val.get(); |
| 96 | } | ||
| 97 | } | ||
| 98 | |||
| 99 | 20 | double x2 = std::pow(x, 2); | |
| 100 | 20 | double y2 = std::pow(y, 2); | |
| 101 | 20 | double z2 = std::pow(z, 2); | |
| 102 | 20 | double result = 0.0; | |
| 103 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient1Constant()) { |
| 104 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get(); |
| 105 | } | ||
| 106 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient2xPOW2()) { |
| 107 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2; |
| 108 | } | ||
| 109 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient3x()) { |
| 110 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x; |
| 111 | } | ||
| 112 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient4yPOW2()) { |
| 113 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * y2; |
| 114 | } | ||
| 115 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient5y()) { |
| 116 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * y; |
| 117 | } | ||
| 118 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient6zPOW2()) { |
| 119 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * z2; |
| 120 | } | ||
| 121 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient7z()) { |
| 122 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * z; |
| 123 | } | ||
| 124 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient8xPOW2TIMESYPOW2()) { |
| 125 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2 * y2; |
| 126 | } | ||
| 127 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient9xTIMESY()) { |
| 128 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x * y; |
| 129 | } | ||
| 130 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient10xTIMESYPOW2()) { |
| 131 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x * y2; |
| 132 | } | ||
| 133 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient11xPOW2TIMESY()) { |
| 134 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2 * y; |
| 135 | } | ||
| 136 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient12xPOW2TIMESZPOW2()) { |
| 137 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2 * z2; |
| 138 | } | ||
| 139 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient13xTIMESZ()) { |
| 140 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x * z; |
| 141 | } | ||
| 142 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient14xTIMESZPOW2()) { |
| 143 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x * z2; |
| 144 | } | ||
| 145 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient15xPOW2TIMESZ()) { |
| 146 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2 * z; |
| 147 | } | ||
| 148 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient16yPOW2TIMESZPOW2()) { |
| 149 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * y2 * z2; |
| 150 | } | ||
| 151 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient17yTIMESZ()) { |
| 152 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * y * z; |
| 153 | } | ||
| 154 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient18yTIMESZPOW2()) { |
| 155 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * y * z2; |
| 156 | } | ||
| 157 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient19yPOW2TIMESZ()) { |
| 158 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * y2 * z; |
| 159 | } | ||
| 160 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient20xPOW2TIMESYPOW2TIMESZPOW2()) { |
| 161 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2 * y2 * z2; |
| 162 | } | ||
| 163 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient21xPOW2TIMESYPOW2TIMESZ()) { |
| 164 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2 * y2 * z; |
| 165 | } | ||
| 166 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient22xPOW2TIMESYTIMESZPOW2()) { |
| 167 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2 * y * z2; |
| 168 | } | ||
| 169 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient23xTIMESYPOW2TIMESZPOW2()) { |
| 170 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x * y2 * z2; |
| 171 | } | ||
| 172 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient24xPOW2TIMESYTIMESZ()) { |
| 173 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x2 * y * z; |
| 174 | } | ||
| 175 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient25xTIMESYPOW2TIMESZ()) { |
| 176 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x * y2 * z; |
| 177 | } | ||
| 178 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient26xTIMESYTIMESZPOW2()) { |
| 179 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x * y * z2; |
| 180 | } | ||
| 181 |
2/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 20 times.
✗ Branch 4 not taken.
|
40 | if (OptionalDouble coeff = coefficient27xTIMESYTIMESZ()) { |
| 182 |
1/1✓ Branch 1 taken 20 times.
|
20 | result += coeff.get() * x * y * z; |
| 183 | } | ||
| 184 | |||
| 185 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 2 times.
✓ Branch 4 taken 18 times.
|
40 | if (boost::optional<double> _minVal = minimumCurveOutput()) { |
| 186 |
1/1✓ Branch 1 taken 2 times.
|
2 | double minVal = _minVal.get(); |
| 187 |
2/2✓ Branch 0 taken 1 time.
✓ Branch 1 taken 1 time.
|
2 | if (result < minVal) { |
| 188 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
1 | LOG(Warn, "Calculated curve output is below minimumCurveOutput, resetting it."); |
| 189 | 1 | result = minVal; | |
| 190 | } | ||
| 191 | } | ||
| 192 | |||
| 193 |
3/3✓ Branch 1 taken 20 times.
✓ Branch 3 taken 2 times.
✓ Branch 4 taken 18 times.
|
40 | if (boost::optional<double> _maxVal = maximumCurveOutput()) { |
| 194 |
1/1✓ Branch 1 taken 2 times.
|
2 | double maxVal = _maxVal.get(); |
| 195 |
2/2✓ Branch 0 taken 1 time.
✓ Branch 1 taken 1 time.
|
2 | if (result > maxVal) { |
| 196 |
5/5✓ Branch 1 taken 1 time.
✓ Branch 4 taken 1 time.
✓ Branch 7 taken 1 time.
✓ Branch 10 taken 1 time.
✓ Branch 13 taken 1 time.
|
1 | LOG(Warn, "Calculated curve output is above maximumCurveOutput, resetting it."); |
| 197 | 1 | result = maxVal; | |
| 198 | } | ||
| 199 | } | ||
| 200 | |||
| 201 | 20 | return result; | |
| 202 | } | ||
| 203 | |||
| 204 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient1Constant() const { | |
| 205 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient1Constant, true); | |
| 206 | } | ||
| 207 | |||
| 208 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient2xPOW2() const { | |
| 209 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient2x_POW_2, true); | |
| 210 | } | ||
| 211 | |||
| 212 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient3x() const { | |
| 213 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient3x, true); | |
| 214 | } | ||
| 215 | |||
| 216 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient4yPOW2() const { | |
| 217 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient4y_POW_2, true); | |
| 218 | } | ||
| 219 | |||
| 220 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient5y() const { | |
| 221 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient5y, true); | |
| 222 | } | ||
| 223 | |||
| 224 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient6zPOW2() const { | |
| 225 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient6z_POW_2, true); | |
| 226 | } | ||
| 227 | |||
| 228 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient7z() const { | |
| 229 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient7z, true); | |
| 230 | } | ||
| 231 | |||
| 232 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient8xPOW2TIMESYPOW2() const { | |
| 233 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient8x_POW_2_TIMES_y_POW_2, true); | |
| 234 | } | ||
| 235 | |||
| 236 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient9xTIMESY() const { | |
| 237 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient9x_TIMES_y, true); | |
| 238 | } | ||
| 239 | |||
| 240 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient10xTIMESYPOW2() const { | |
| 241 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient10x_TIMES_y_POW_2, true); | |
| 242 | } | ||
| 243 | |||
| 244 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient11xPOW2TIMESY() const { | |
| 245 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient11x_POW_2_TIMES_y, true); | |
| 246 | } | ||
| 247 | |||
| 248 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient12xPOW2TIMESZPOW2() const { | |
| 249 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient12x_POW_2_TIMES_z_POW_2, true); | |
| 250 | } | ||
| 251 | |||
| 252 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient13xTIMESZ() const { | |
| 253 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient13x_TIMES_z, true); | |
| 254 | } | ||
| 255 | |||
| 256 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient14xTIMESZPOW2() const { | |
| 257 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient14x_TIMES_z_POW_2, true); | |
| 258 | } | ||
| 259 | |||
| 260 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient15xPOW2TIMESZ() const { | |
| 261 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient15x_POW_2_TIMES_z, true); | |
| 262 | } | ||
| 263 | |||
| 264 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient16yPOW2TIMESZPOW2() const { | |
| 265 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient16y_POW_2_TIMES_z_POW_2, true); | |
| 266 | } | ||
| 267 | |||
| 268 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient17yTIMESZ() const { | |
| 269 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient17y_TIMES_z, true); | |
| 270 | } | ||
| 271 | |||
| 272 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient18yTIMESZPOW2() const { | |
| 273 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient18y_TIMES_z_POW_2, true); | |
| 274 | } | ||
| 275 | |||
| 276 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient19yPOW2TIMESZ() const { | |
| 277 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient19y_POW_2_TIMES_z, true); | |
| 278 | } | ||
| 279 | |||
| 280 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient20xPOW2TIMESYPOW2TIMESZPOW2() const { | |
| 281 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient20x_POW_2_TIMES_y_POW_2_TIMES_z_POW_2, true); | |
| 282 | } | ||
| 283 | |||
| 284 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient21xPOW2TIMESYPOW2TIMESZ() const { | |
| 285 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient21x_POW_2_TIMES_y_POW_2_TIMES_z, true); | |
| 286 | } | ||
| 287 | |||
| 288 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient22xPOW2TIMESYTIMESZPOW2() const { | |
| 289 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient22x_POW_2_TIMES_y_TIMES_z_POW_2, true); | |
| 290 | } | ||
| 291 | |||
| 292 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient23xTIMESYPOW2TIMESZPOW2() const { | |
| 293 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient23x_TIMES_y_POW_2_TIMES_z_POW_2, true); | |
| 294 | } | ||
| 295 | |||
| 296 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient24xPOW2TIMESYTIMESZ() const { | |
| 297 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient24x_POW_2_TIMES_y_TIMES_z, true); | |
| 298 | } | ||
| 299 | |||
| 300 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient25xTIMESYPOW2TIMESZ() const { | |
| 301 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient25x_TIMES_y_POW_2_TIMES_z, true); | |
| 302 | } | ||
| 303 | |||
| 304 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient26xTIMESYTIMESZPOW2() const { | |
| 305 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient26x_TIMES_y_TIMES_z_POW_2, true); | |
| 306 | } | ||
| 307 | |||
| 308 | 31 | boost::optional<double> CurveTriquadratic_Impl::coefficient27xTIMESYTIMESZ() const { | |
| 309 | 31 | return getDouble(OS_Curve_TriquadraticFields::Coefficient27x_TIMES_y_TIMES_z, true); | |
| 310 | } | ||
| 311 | |||
| 312 | 31 | boost::optional<double> CurveTriquadratic_Impl::minimumValueofx() const { | |
| 313 | 31 | return getDouble(OS_Curve_TriquadraticFields::MinimumValueofx, true); | |
| 314 | } | ||
| 315 | |||
| 316 | 31 | boost::optional<double> CurveTriquadratic_Impl::maximumValueofx() const { | |
| 317 | 31 | return getDouble(OS_Curve_TriquadraticFields::MaximumValueofx, true); | |
| 318 | } | ||
| 319 | |||
| 320 | 31 | boost::optional<double> CurveTriquadratic_Impl::minimumValueofy() const { | |
| 321 | 31 | return getDouble(OS_Curve_TriquadraticFields::MinimumValueofy, true); | |
| 322 | } | ||
| 323 | |||
| 324 | 31 | boost::optional<double> CurveTriquadratic_Impl::maximumValueofy() const { | |
| 325 | 31 | return getDouble(OS_Curve_TriquadraticFields::MaximumValueofy, true); | |
| 326 | } | ||
| 327 | |||
| 328 | 31 | boost::optional<double> CurveTriquadratic_Impl::minimumValueofz() const { | |
| 329 | 31 | return getDouble(OS_Curve_TriquadraticFields::MinimumValueofz, true); | |
| 330 | } | ||
| 331 | |||
| 332 | 31 | boost::optional<double> CurveTriquadratic_Impl::maximumValueofz() const { | |
| 333 | 31 | return getDouble(OS_Curve_TriquadraticFields::MaximumValueofz, true); | |
| 334 | } | ||
| 335 | |||
| 336 | 31 | boost::optional<double> CurveTriquadratic_Impl::minimumCurveOutput() const { | |
| 337 | 31 | return getDouble(OS_Curve_TriquadraticFields::MinimumCurveOutput, true); | |
| 338 | } | ||
| 339 | |||
| 340 | 31 | boost::optional<double> CurveTriquadratic_Impl::maximumCurveOutput() const { | |
| 341 | 31 | return getDouble(OS_Curve_TriquadraticFields::MaximumCurveOutput, true); | |
| 342 | } | ||
| 343 | |||
| 344 | ✗ | std::string CurveTriquadratic_Impl::inputUnitTypeforX() const { | |
| 345 | ✗ | boost::optional<std::string> value = getString(OS_Curve_TriquadraticFields::InputUnitTypeforX, true); | |
| 346 | ✗ | OS_ASSERT(value); | |
| 347 | ✗ | return value.get(); | |
| 348 | ✗ | } | |
| 349 | |||
| 350 | 8 | bool CurveTriquadratic_Impl::isInputUnitTypeforXDefaulted() const { | |
| 351 | 8 | return isEmpty(OS_Curve_TriquadraticFields::InputUnitTypeforX); | |
| 352 | } | ||
| 353 | |||
| 354 | ✗ | std::string CurveTriquadratic_Impl::inputUnitTypeforY() const { | |
| 355 | ✗ | boost::optional<std::string> value = getString(OS_Curve_TriquadraticFields::InputUnitTypeforY, true); | |
| 356 | ✗ | OS_ASSERT(value); | |
| 357 | ✗ | return value.get(); | |
| 358 | ✗ | } | |
| 359 | |||
| 360 | 8 | bool CurveTriquadratic_Impl::isInputUnitTypeforYDefaulted() const { | |
| 361 | 8 | return isEmpty(OS_Curve_TriquadraticFields::InputUnitTypeforY); | |
| 362 | } | ||
| 363 | |||
| 364 | ✗ | std::string CurveTriquadratic_Impl::inputUnitTypeforZ() const { | |
| 365 | ✗ | boost::optional<std::string> value = getString(OS_Curve_TriquadraticFields::InputUnitTypeforZ, true); | |
| 366 | ✗ | OS_ASSERT(value); | |
| 367 | ✗ | return value.get(); | |
| 368 | ✗ | } | |
| 369 | |||
| 370 | 8 | bool CurveTriquadratic_Impl::isInputUnitTypeforZDefaulted() const { | |
| 371 | 8 | return isEmpty(OS_Curve_TriquadraticFields::InputUnitTypeforZ); | |
| 372 | } | ||
| 373 | |||
| 374 | ✗ | std::string CurveTriquadratic_Impl::outputUnitType() const { | |
| 375 | ✗ | boost::optional<std::string> value = getString(OS_Curve_TriquadraticFields::OutputUnitType, true); | |
| 376 | ✗ | OS_ASSERT(value); | |
| 377 | ✗ | return value.get(); | |
| 378 | ✗ | } | |
| 379 | |||
| 380 | 8 | bool CurveTriquadratic_Impl::isOutputUnitTypeDefaulted() const { | |
| 381 | 8 | return isEmpty(OS_Curve_TriquadraticFields::OutputUnitType); | |
| 382 | } | ||
| 383 | |||
| 384 | 1 | bool CurveTriquadratic_Impl::setCoefficient1Constant(boost::optional<double> coefficient1Constant) { | |
| 385 | 1 | bool result = false; | |
| 386 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient1Constant) { |
| 387 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient1Constant, coefficient1Constant.get()); | |
| 388 | } else { | ||
| 389 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient1Constant, ""); | |
| 390 | } | ||
| 391 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 392 | 1 | return result; | |
| 393 | } | ||
| 394 | |||
| 395 | ✗ | void CurveTriquadratic_Impl::resetCoefficient1Constant() { | |
| 396 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient1Constant, ""); | |
| 397 | ✗ | OS_ASSERT(result); | |
| 398 | ✗ | } | |
| 399 | |||
| 400 | 1 | bool CurveTriquadratic_Impl::setCoefficient2xPOW2(boost::optional<double> coefficient2xPOW2) { | |
| 401 | 1 | bool result = false; | |
| 402 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient2xPOW2) { |
| 403 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient2x_POW_2, coefficient2xPOW2.get()); | |
| 404 | } else { | ||
| 405 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient2x_POW_2, ""); | |
| 406 | } | ||
| 407 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 408 | 1 | return result; | |
| 409 | } | ||
| 410 | |||
| 411 | ✗ | void CurveTriquadratic_Impl::resetCoefficient2xPOW2() { | |
| 412 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient2x_POW_2, ""); | |
| 413 | ✗ | OS_ASSERT(result); | |
| 414 | ✗ | } | |
| 415 | |||
| 416 | 1 | bool CurveTriquadratic_Impl::setCoefficient3x(boost::optional<double> coefficient3x) { | |
| 417 | 1 | bool result = false; | |
| 418 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient3x) { |
| 419 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient3x, coefficient3x.get()); | |
| 420 | } else { | ||
| 421 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient3x, ""); | |
| 422 | } | ||
| 423 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 424 | 1 | return result; | |
| 425 | } | ||
| 426 | |||
| 427 | ✗ | void CurveTriquadratic_Impl::resetCoefficient3x() { | |
| 428 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient3x, ""); | |
| 429 | ✗ | OS_ASSERT(result); | |
| 430 | ✗ | } | |
| 431 | |||
| 432 | 1 | bool CurveTriquadratic_Impl::setCoefficient4yPOW2(boost::optional<double> coefficient4yPOW2) { | |
| 433 | 1 | bool result = false; | |
| 434 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient4yPOW2) { |
| 435 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient4y_POW_2, coefficient4yPOW2.get()); | |
| 436 | } else { | ||
| 437 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient4y_POW_2, ""); | |
| 438 | } | ||
| 439 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 440 | 1 | return result; | |
| 441 | } | ||
| 442 | |||
| 443 | ✗ | void CurveTriquadratic_Impl::resetCoefficient4yPOW2() { | |
| 444 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient4y_POW_2, ""); | |
| 445 | ✗ | OS_ASSERT(result); | |
| 446 | ✗ | } | |
| 447 | |||
| 448 | 1 | bool CurveTriquadratic_Impl::setCoefficient5y(boost::optional<double> coefficient5y) { | |
| 449 | 1 | bool result = false; | |
| 450 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient5y) { |
| 451 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient5y, coefficient5y.get()); | |
| 452 | } else { | ||
| 453 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient5y, ""); | |
| 454 | } | ||
| 455 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 456 | 1 | return result; | |
| 457 | } | ||
| 458 | |||
| 459 | ✗ | void CurveTriquadratic_Impl::resetCoefficient5y() { | |
| 460 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient5y, ""); | |
| 461 | ✗ | OS_ASSERT(result); | |
| 462 | ✗ | } | |
| 463 | |||
| 464 | 1 | bool CurveTriquadratic_Impl::setCoefficient6zPOW2(boost::optional<double> coefficient6zPOW2) { | |
| 465 | 1 | bool result = false; | |
| 466 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient6zPOW2) { |
| 467 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient6z_POW_2, coefficient6zPOW2.get()); | |
| 468 | } else { | ||
| 469 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient6z_POW_2, ""); | |
| 470 | } | ||
| 471 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 472 | 1 | return result; | |
| 473 | } | ||
| 474 | |||
| 475 | ✗ | void CurveTriquadratic_Impl::resetCoefficient6zPOW2() { | |
| 476 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient6z_POW_2, ""); | |
| 477 | ✗ | OS_ASSERT(result); | |
| 478 | ✗ | } | |
| 479 | |||
| 480 | 1 | bool CurveTriquadratic_Impl::setCoefficient7z(boost::optional<double> coefficient7z) { | |
| 481 | 1 | bool result = false; | |
| 482 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient7z) { |
| 483 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient7z, coefficient7z.get()); | |
| 484 | } else { | ||
| 485 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient7z, ""); | |
| 486 | } | ||
| 487 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 488 | 1 | return result; | |
| 489 | } | ||
| 490 | |||
| 491 | ✗ | void CurveTriquadratic_Impl::resetCoefficient7z() { | |
| 492 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient7z, ""); | |
| 493 | ✗ | OS_ASSERT(result); | |
| 494 | ✗ | } | |
| 495 | |||
| 496 | 1 | bool CurveTriquadratic_Impl::setCoefficient8xPOW2TIMESYPOW2(boost::optional<double> coefficient8xPOW2TIMESYPOW2) { | |
| 497 | 1 | bool result = false; | |
| 498 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient8xPOW2TIMESYPOW2) { |
| 499 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient8x_POW_2_TIMES_y_POW_2, coefficient8xPOW2TIMESYPOW2.get()); | |
| 500 | } else { | ||
| 501 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient8x_POW_2_TIMES_y_POW_2, ""); | |
| 502 | } | ||
| 503 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 504 | 1 | return result; | |
| 505 | } | ||
| 506 | |||
| 507 | ✗ | void CurveTriquadratic_Impl::resetCoefficient8xPOW2TIMESYPOW2() { | |
| 508 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient8x_POW_2_TIMES_y_POW_2, ""); | |
| 509 | ✗ | OS_ASSERT(result); | |
| 510 | ✗ | } | |
| 511 | |||
| 512 | 1 | bool CurveTriquadratic_Impl::setCoefficient9xTIMESY(boost::optional<double> coefficient9xTIMESY) { | |
| 513 | 1 | bool result = false; | |
| 514 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient9xTIMESY) { |
| 515 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient9x_TIMES_y, coefficient9xTIMESY.get()); | |
| 516 | } else { | ||
| 517 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient9x_TIMES_y, ""); | |
| 518 | } | ||
| 519 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 520 | 1 | return result; | |
| 521 | } | ||
| 522 | |||
| 523 | ✗ | void CurveTriquadratic_Impl::resetCoefficient9xTIMESY() { | |
| 524 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient9x_TIMES_y, ""); | |
| 525 | ✗ | OS_ASSERT(result); | |
| 526 | ✗ | } | |
| 527 | |||
| 528 | 1 | bool CurveTriquadratic_Impl::setCoefficient10xTIMESYPOW2(boost::optional<double> coefficient10xTIMESYPOW2) { | |
| 529 | 1 | bool result = false; | |
| 530 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient10xTIMESYPOW2) { |
| 531 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient10x_TIMES_y_POW_2, coefficient10xTIMESYPOW2.get()); | |
| 532 | } else { | ||
| 533 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient10x_TIMES_y_POW_2, ""); | |
| 534 | } | ||
| 535 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 536 | 1 | return result; | |
| 537 | } | ||
| 538 | |||
| 539 | ✗ | void CurveTriquadratic_Impl::resetCoefficient10xTIMESYPOW2() { | |
| 540 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient10x_TIMES_y_POW_2, ""); | |
| 541 | ✗ | OS_ASSERT(result); | |
| 542 | ✗ | } | |
| 543 | |||
| 544 | 1 | bool CurveTriquadratic_Impl::setCoefficient11xPOW2TIMESY(boost::optional<double> coefficient11xPOW2TIMESY) { | |
| 545 | 1 | bool result = false; | |
| 546 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient11xPOW2TIMESY) { |
| 547 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient11x_POW_2_TIMES_y, coefficient11xPOW2TIMESY.get()); | |
| 548 | } else { | ||
| 549 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient11x_POW_2_TIMES_y, ""); | |
| 550 | } | ||
| 551 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 552 | 1 | return result; | |
| 553 | } | ||
| 554 | |||
| 555 | ✗ | void CurveTriquadratic_Impl::resetCoefficient11xPOW2TIMESY() { | |
| 556 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient11x_POW_2_TIMES_y, ""); | |
| 557 | ✗ | OS_ASSERT(result); | |
| 558 | ✗ | } | |
| 559 | |||
| 560 | 1 | bool CurveTriquadratic_Impl::setCoefficient12xPOW2TIMESZPOW2(boost::optional<double> coefficient12xPOW2TIMESZPOW2) { | |
| 561 | 1 | bool result = false; | |
| 562 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient12xPOW2TIMESZPOW2) { |
| 563 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient12x_POW_2_TIMES_z_POW_2, coefficient12xPOW2TIMESZPOW2.get()); | |
| 564 | } else { | ||
| 565 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient12x_POW_2_TIMES_z_POW_2, ""); | |
| 566 | } | ||
| 567 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 568 | 1 | return result; | |
| 569 | } | ||
| 570 | |||
| 571 | ✗ | void CurveTriquadratic_Impl::resetCoefficient12xPOW2TIMESZPOW2() { | |
| 572 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient12x_POW_2_TIMES_z_POW_2, ""); | |
| 573 | ✗ | OS_ASSERT(result); | |
| 574 | ✗ | } | |
| 575 | |||
| 576 | 1 | bool CurveTriquadratic_Impl::setCoefficient13xTIMESZ(boost::optional<double> coefficient13xTIMESZ) { | |
| 577 | 1 | bool result = false; | |
| 578 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient13xTIMESZ) { |
| 579 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient13x_TIMES_z, coefficient13xTIMESZ.get()); | |
| 580 | } else { | ||
| 581 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient13x_TIMES_z, ""); | |
| 582 | } | ||
| 583 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 584 | 1 | return result; | |
| 585 | } | ||
| 586 | |||
| 587 | ✗ | void CurveTriquadratic_Impl::resetCoefficient13xTIMESZ() { | |
| 588 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient13x_TIMES_z, ""); | |
| 589 | ✗ | OS_ASSERT(result); | |
| 590 | ✗ | } | |
| 591 | |||
| 592 | 1 | bool CurveTriquadratic_Impl::setCoefficient14xTIMESZPOW2(boost::optional<double> coefficient14xTIMESZPOW2) { | |
| 593 | 1 | bool result = false; | |
| 594 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient14xTIMESZPOW2) { |
| 595 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient14x_TIMES_z_POW_2, coefficient14xTIMESZPOW2.get()); | |
| 596 | } else { | ||
| 597 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient14x_TIMES_z_POW_2, ""); | |
| 598 | } | ||
| 599 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 600 | 1 | return result; | |
| 601 | } | ||
| 602 | |||
| 603 | ✗ | void CurveTriquadratic_Impl::resetCoefficient14xTIMESZPOW2() { | |
| 604 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient14x_TIMES_z_POW_2, ""); | |
| 605 | ✗ | OS_ASSERT(result); | |
| 606 | ✗ | } | |
| 607 | |||
| 608 | 1 | bool CurveTriquadratic_Impl::setCoefficient15xPOW2TIMESZ(boost::optional<double> coefficient15xPOW2TIMESZ) { | |
| 609 | 1 | bool result = false; | |
| 610 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient15xPOW2TIMESZ) { |
| 611 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient15x_POW_2_TIMES_z, coefficient15xPOW2TIMESZ.get()); | |
| 612 | } else { | ||
| 613 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient15x_POW_2_TIMES_z, ""); | |
| 614 | } | ||
| 615 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 616 | 1 | return result; | |
| 617 | } | ||
| 618 | |||
| 619 | ✗ | void CurveTriquadratic_Impl::resetCoefficient15xPOW2TIMESZ() { | |
| 620 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient15x_POW_2_TIMES_z, ""); | |
| 621 | ✗ | OS_ASSERT(result); | |
| 622 | ✗ | } | |
| 623 | |||
| 624 | 1 | bool CurveTriquadratic_Impl::setCoefficient16yPOW2TIMESZPOW2(boost::optional<double> coefficient16yPOW2TIMESZPOW2) { | |
| 625 | 1 | bool result = false; | |
| 626 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient16yPOW2TIMESZPOW2) { |
| 627 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient16y_POW_2_TIMES_z_POW_2, coefficient16yPOW2TIMESZPOW2.get()); | |
| 628 | } else { | ||
| 629 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient16y_POW_2_TIMES_z_POW_2, ""); | |
| 630 | } | ||
| 631 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 632 | 1 | return result; | |
| 633 | } | ||
| 634 | |||
| 635 | ✗ | void CurveTriquadratic_Impl::resetCoefficient16yPOW2TIMESZPOW2() { | |
| 636 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient16y_POW_2_TIMES_z_POW_2, ""); | |
| 637 | ✗ | OS_ASSERT(result); | |
| 638 | ✗ | } | |
| 639 | |||
| 640 | 1 | bool CurveTriquadratic_Impl::setCoefficient17yTIMESZ(boost::optional<double> coefficient17yTIMESZ) { | |
| 641 | 1 | bool result = false; | |
| 642 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient17yTIMESZ) { |
| 643 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient17y_TIMES_z, coefficient17yTIMESZ.get()); | |
| 644 | } else { | ||
| 645 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient17y_TIMES_z, ""); | |
| 646 | } | ||
| 647 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 648 | 1 | return result; | |
| 649 | } | ||
| 650 | |||
| 651 | ✗ | void CurveTriquadratic_Impl::resetCoefficient17yTIMESZ() { | |
| 652 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient17y_TIMES_z, ""); | |
| 653 | ✗ | OS_ASSERT(result); | |
| 654 | ✗ | } | |
| 655 | |||
| 656 | 1 | bool CurveTriquadratic_Impl::setCoefficient18yTIMESZPOW2(boost::optional<double> coefficient18yTIMESZPOW2) { | |
| 657 | 1 | bool result = false; | |
| 658 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient18yTIMESZPOW2) { |
| 659 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient18y_TIMES_z_POW_2, coefficient18yTIMESZPOW2.get()); | |
| 660 | } else { | ||
| 661 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient18y_TIMES_z_POW_2, ""); | |
| 662 | } | ||
| 663 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 664 | 1 | return result; | |
| 665 | } | ||
| 666 | |||
| 667 | ✗ | void CurveTriquadratic_Impl::resetCoefficient18yTIMESZPOW2() { | |
| 668 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient18y_TIMES_z_POW_2, ""); | |
| 669 | ✗ | OS_ASSERT(result); | |
| 670 | ✗ | } | |
| 671 | |||
| 672 | 1 | bool CurveTriquadratic_Impl::setCoefficient19yPOW2TIMESZ(boost::optional<double> coefficient19yPOW2TIMESZ) { | |
| 673 | 1 | bool result = false; | |
| 674 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient19yPOW2TIMESZ) { |
| 675 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient19y_POW_2_TIMES_z, coefficient19yPOW2TIMESZ.get()); | |
| 676 | } else { | ||
| 677 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient19y_POW_2_TIMES_z, ""); | |
| 678 | } | ||
| 679 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 680 | 1 | return result; | |
| 681 | } | ||
| 682 | |||
| 683 | ✗ | void CurveTriquadratic_Impl::resetCoefficient19yPOW2TIMESZ() { | |
| 684 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient19y_POW_2_TIMES_z, ""); | |
| 685 | ✗ | OS_ASSERT(result); | |
| 686 | ✗ | } | |
| 687 | |||
| 688 | 1 | bool CurveTriquadratic_Impl::setCoefficient20xPOW2TIMESYPOW2TIMESZPOW2(boost::optional<double> coefficient20xPOW2TIMESYPOW2TIMESZPOW2) { | |
| 689 | 1 | bool result = false; | |
| 690 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient20xPOW2TIMESYPOW2TIMESZPOW2) { |
| 691 | result = | ||
| 692 | 1 | setDouble(OS_Curve_TriquadraticFields::Coefficient20x_POW_2_TIMES_y_POW_2_TIMES_z_POW_2, coefficient20xPOW2TIMESYPOW2TIMESZPOW2.get()); | |
| 693 | } else { | ||
| 694 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient20x_POW_2_TIMES_y_POW_2_TIMES_z_POW_2, ""); | |
| 695 | } | ||
| 696 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 697 | 1 | return result; | |
| 698 | } | ||
| 699 | |||
| 700 | ✗ | void CurveTriquadratic_Impl::resetCoefficient20xPOW2TIMESYPOW2TIMESZPOW2() { | |
| 701 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient20x_POW_2_TIMES_y_POW_2_TIMES_z_POW_2, ""); | |
| 702 | ✗ | OS_ASSERT(result); | |
| 703 | ✗ | } | |
| 704 | |||
| 705 | 1 | bool CurveTriquadratic_Impl::setCoefficient21xPOW2TIMESYPOW2TIMESZ(boost::optional<double> coefficient21xPOW2TIMESYPOW2TIMESZ) { | |
| 706 | 1 | bool result = false; | |
| 707 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient21xPOW2TIMESYPOW2TIMESZ) { |
| 708 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient21x_POW_2_TIMES_y_POW_2_TIMES_z, coefficient21xPOW2TIMESYPOW2TIMESZ.get()); | |
| 709 | } else { | ||
| 710 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient21x_POW_2_TIMES_y_POW_2_TIMES_z, ""); | |
| 711 | } | ||
| 712 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 713 | 1 | return result; | |
| 714 | } | ||
| 715 | |||
| 716 | ✗ | void CurveTriquadratic_Impl::resetCoefficient21xPOW2TIMESYPOW2TIMESZ() { | |
| 717 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient21x_POW_2_TIMES_y_POW_2_TIMES_z, ""); | |
| 718 | ✗ | OS_ASSERT(result); | |
| 719 | ✗ | } | |
| 720 | |||
| 721 | 1 | bool CurveTriquadratic_Impl::setCoefficient22xPOW2TIMESYTIMESZPOW2(boost::optional<double> coefficient22xPOW2TIMESYTIMESZPOW2) { | |
| 722 | 1 | bool result = false; | |
| 723 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient22xPOW2TIMESYTIMESZPOW2) { |
| 724 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient22x_POW_2_TIMES_y_TIMES_z_POW_2, coefficient22xPOW2TIMESYTIMESZPOW2.get()); | |
| 725 | } else { | ||
| 726 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient22x_POW_2_TIMES_y_TIMES_z_POW_2, ""); | |
| 727 | } | ||
| 728 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 729 | 1 | return result; | |
| 730 | } | ||
| 731 | |||
| 732 | ✗ | void CurveTriquadratic_Impl::resetCoefficient22xPOW2TIMESYTIMESZPOW2() { | |
| 733 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient22x_POW_2_TIMES_y_TIMES_z_POW_2, ""); | |
| 734 | ✗ | OS_ASSERT(result); | |
| 735 | ✗ | } | |
| 736 | |||
| 737 | 1 | bool CurveTriquadratic_Impl::setCoefficient23xTIMESYPOW2TIMESZPOW2(boost::optional<double> coefficient23xTIMESYPOW2TIMESZPOW2) { | |
| 738 | 1 | bool result = false; | |
| 739 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient23xTIMESYPOW2TIMESZPOW2) { |
| 740 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient23x_TIMES_y_POW_2_TIMES_z_POW_2, coefficient23xTIMESYPOW2TIMESZPOW2.get()); | |
| 741 | } else { | ||
| 742 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient23x_TIMES_y_POW_2_TIMES_z_POW_2, ""); | |
| 743 | } | ||
| 744 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 745 | 1 | return result; | |
| 746 | } | ||
| 747 | |||
| 748 | ✗ | void CurveTriquadratic_Impl::resetCoefficient23xTIMESYPOW2TIMESZPOW2() { | |
| 749 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient23x_TIMES_y_POW_2_TIMES_z_POW_2, ""); | |
| 750 | ✗ | OS_ASSERT(result); | |
| 751 | ✗ | } | |
| 752 | |||
| 753 | 1 | bool CurveTriquadratic_Impl::setCoefficient24xPOW2TIMESYTIMESZ(boost::optional<double> coefficient24xPOW2TIMESYTIMESZ) { | |
| 754 | 1 | bool result = false; | |
| 755 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient24xPOW2TIMESYTIMESZ) { |
| 756 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient24x_POW_2_TIMES_y_TIMES_z, coefficient24xPOW2TIMESYTIMESZ.get()); | |
| 757 | } else { | ||
| 758 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient24x_POW_2_TIMES_y_TIMES_z, ""); | |
| 759 | } | ||
| 760 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 761 | 1 | return result; | |
| 762 | } | ||
| 763 | |||
| 764 | ✗ | void CurveTriquadratic_Impl::resetCoefficient24xPOW2TIMESYTIMESZ() { | |
| 765 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient24x_POW_2_TIMES_y_TIMES_z, ""); | |
| 766 | ✗ | OS_ASSERT(result); | |
| 767 | ✗ | } | |
| 768 | |||
| 769 | 1 | bool CurveTriquadratic_Impl::setCoefficient25xTIMESYPOW2TIMESZ(boost::optional<double> coefficient25xTIMESYPOW2TIMESZ) { | |
| 770 | 1 | bool result = false; | |
| 771 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient25xTIMESYPOW2TIMESZ) { |
| 772 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient25x_TIMES_y_POW_2_TIMES_z, coefficient25xTIMESYPOW2TIMESZ.get()); | |
| 773 | } else { | ||
| 774 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient25x_TIMES_y_POW_2_TIMES_z, ""); | |
| 775 | } | ||
| 776 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 777 | 1 | return result; | |
| 778 | } | ||
| 779 | |||
| 780 | ✗ | void CurveTriquadratic_Impl::resetCoefficient25xTIMESYPOW2TIMESZ() { | |
| 781 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient25x_TIMES_y_POW_2_TIMES_z, ""); | |
| 782 | ✗ | OS_ASSERT(result); | |
| 783 | ✗ | } | |
| 784 | |||
| 785 | 1 | bool CurveTriquadratic_Impl::setCoefficient26xTIMESYTIMESZPOW2(boost::optional<double> coefficient26xTIMESYTIMESZPOW2) { | |
| 786 | 1 | bool result = false; | |
| 787 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient26xTIMESYTIMESZPOW2) { |
| 788 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient26x_TIMES_y_TIMES_z_POW_2, coefficient26xTIMESYTIMESZPOW2.get()); | |
| 789 | } else { | ||
| 790 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient26x_TIMES_y_TIMES_z_POW_2, ""); | |
| 791 | } | ||
| 792 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 793 | 1 | return result; | |
| 794 | } | ||
| 795 | |||
| 796 | ✗ | void CurveTriquadratic_Impl::resetCoefficient26xTIMESYTIMESZPOW2() { | |
| 797 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient26x_TIMES_y_TIMES_z_POW_2, ""); | |
| 798 | ✗ | OS_ASSERT(result); | |
| 799 | ✗ | } | |
| 800 | |||
| 801 | 1 | bool CurveTriquadratic_Impl::setCoefficient27xTIMESYTIMESZ(boost::optional<double> coefficient27xTIMESYTIMESZ) { | |
| 802 | 1 | bool result = false; | |
| 803 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (coefficient27xTIMESYTIMESZ) { |
| 804 | 1 | result = setDouble(OS_Curve_TriquadraticFields::Coefficient27x_TIMES_y_TIMES_z, coefficient27xTIMESYTIMESZ.get()); | |
| 805 | } else { | ||
| 806 | ✗ | result = setString(OS_Curve_TriquadraticFields::Coefficient27x_TIMES_y_TIMES_z, ""); | |
| 807 | } | ||
| 808 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 809 | 1 | return result; | |
| 810 | } | ||
| 811 | |||
| 812 | ✗ | void CurveTriquadratic_Impl::resetCoefficient27xTIMESYTIMESZ() { | |
| 813 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::Coefficient27x_TIMES_y_TIMES_z, ""); | |
| 814 | ✗ | OS_ASSERT(result); | |
| 815 | ✗ | } | |
| 816 | |||
| 817 | 1 | bool CurveTriquadratic_Impl::setMinimumValueofx(boost::optional<double> minimumValueofx) { | |
| 818 | 1 | bool result = false; | |
| 819 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (minimumValueofx) { |
| 820 | 1 | result = setDouble(OS_Curve_TriquadraticFields::MinimumValueofx, minimumValueofx.get()); | |
| 821 | } else { | ||
| 822 | ✗ | result = setString(OS_Curve_TriquadraticFields::MinimumValueofx, ""); | |
| 823 | } | ||
| 824 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 825 | 1 | return result; | |
| 826 | } | ||
| 827 | |||
| 828 | ✗ | void CurveTriquadratic_Impl::resetMinimumValueofx() { | |
| 829 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::MinimumValueofx, ""); | |
| 830 | ✗ | OS_ASSERT(result); | |
| 831 | ✗ | } | |
| 832 | |||
| 833 | 1 | bool CurveTriquadratic_Impl::setMaximumValueofx(boost::optional<double> maximumValueofx) { | |
| 834 | 1 | bool result = false; | |
| 835 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (maximumValueofx) { |
| 836 | 1 | result = setDouble(OS_Curve_TriquadraticFields::MaximumValueofx, maximumValueofx.get()); | |
| 837 | } else { | ||
| 838 | ✗ | result = setString(OS_Curve_TriquadraticFields::MaximumValueofx, ""); | |
| 839 | } | ||
| 840 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 841 | 1 | return result; | |
| 842 | } | ||
| 843 | |||
| 844 | ✗ | void CurveTriquadratic_Impl::resetMaximumValueofx() { | |
| 845 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::MaximumValueofx, ""); | |
| 846 | ✗ | OS_ASSERT(result); | |
| 847 | ✗ | } | |
| 848 | |||
| 849 | 1 | bool CurveTriquadratic_Impl::setMinimumValueofy(boost::optional<double> minimumValueofy) { | |
| 850 | 1 | bool result = false; | |
| 851 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (minimumValueofy) { |
| 852 | 1 | result = setDouble(OS_Curve_TriquadraticFields::MinimumValueofy, minimumValueofy.get()); | |
| 853 | } else { | ||
| 854 | ✗ | result = setString(OS_Curve_TriquadraticFields::MinimumValueofy, ""); | |
| 855 | } | ||
| 856 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 857 | 1 | return result; | |
| 858 | } | ||
| 859 | |||
| 860 | ✗ | void CurveTriquadratic_Impl::resetMinimumValueofy() { | |
| 861 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::MinimumValueofy, ""); | |
| 862 | ✗ | OS_ASSERT(result); | |
| 863 | ✗ | } | |
| 864 | |||
| 865 | 1 | bool CurveTriquadratic_Impl::setMaximumValueofy(boost::optional<double> maximumValueofy) { | |
| 866 | 1 | bool result = false; | |
| 867 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (maximumValueofy) { |
| 868 | 1 | result = setDouble(OS_Curve_TriquadraticFields::MaximumValueofy, maximumValueofy.get()); | |
| 869 | } else { | ||
| 870 | ✗ | result = setString(OS_Curve_TriquadraticFields::MaximumValueofy, ""); | |
| 871 | } | ||
| 872 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 873 | 1 | return result; | |
| 874 | } | ||
| 875 | |||
| 876 | ✗ | void CurveTriquadratic_Impl::resetMaximumValueofy() { | |
| 877 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::MaximumValueofy, ""); | |
| 878 | ✗ | OS_ASSERT(result); | |
| 879 | ✗ | } | |
| 880 | |||
| 881 | 1 | bool CurveTriquadratic_Impl::setMinimumValueofz(boost::optional<double> minimumValueofz) { | |
| 882 | 1 | bool result = false; | |
| 883 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (minimumValueofz) { |
| 884 | 1 | result = setDouble(OS_Curve_TriquadraticFields::MinimumValueofz, minimumValueofz.get()); | |
| 885 | } else { | ||
| 886 | ✗ | result = setString(OS_Curve_TriquadraticFields::MinimumValueofz, ""); | |
| 887 | } | ||
| 888 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 889 | 1 | return result; | |
| 890 | } | ||
| 891 | |||
| 892 | ✗ | void CurveTriquadratic_Impl::resetMinimumValueofz() { | |
| 893 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::MinimumValueofz, ""); | |
| 894 | ✗ | OS_ASSERT(result); | |
| 895 | ✗ | } | |
| 896 | |||
| 897 | 1 | bool CurveTriquadratic_Impl::setMaximumValueofz(boost::optional<double> maximumValueofz) { | |
| 898 | 1 | bool result = false; | |
| 899 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (maximumValueofz) { |
| 900 | 1 | result = setDouble(OS_Curve_TriquadraticFields::MaximumValueofz, maximumValueofz.get()); | |
| 901 | } else { | ||
| 902 | ✗ | result = setString(OS_Curve_TriquadraticFields::MaximumValueofz, ""); | |
| 903 | } | ||
| 904 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 905 | 1 | return result; | |
| 906 | } | ||
| 907 | |||
| 908 | ✗ | void CurveTriquadratic_Impl::resetMaximumValueofz() { | |
| 909 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::MaximumValueofz, ""); | |
| 910 | ✗ | OS_ASSERT(result); | |
| 911 | ✗ | } | |
| 912 | |||
| 913 | 1 | bool CurveTriquadratic_Impl::setMinimumCurveOutput(boost::optional<double> minimumCurveOutput) { | |
| 914 | 1 | bool result = false; | |
| 915 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (minimumCurveOutput) { |
| 916 | 1 | result = setDouble(OS_Curve_TriquadraticFields::MinimumCurveOutput, minimumCurveOutput.get()); | |
| 917 | } else { | ||
| 918 | ✗ | result = setString(OS_Curve_TriquadraticFields::MinimumCurveOutput, ""); | |
| 919 | } | ||
| 920 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 921 | 1 | return result; | |
| 922 | } | ||
| 923 | |||
| 924 | ✗ | void CurveTriquadratic_Impl::resetMinimumCurveOutput() { | |
| 925 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::MinimumCurveOutput, ""); | |
| 926 | ✗ | OS_ASSERT(result); | |
| 927 | ✗ | } | |
| 928 | |||
| 929 | 1 | bool CurveTriquadratic_Impl::setMaximumCurveOutput(boost::optional<double> maximumCurveOutput) { | |
| 930 | 1 | bool result = false; | |
| 931 |
1/2✓ Branch 0 taken 1 time.
✗ Branch 1 not taken.
|
1 | if (maximumCurveOutput) { |
| 932 | 1 | result = setDouble(OS_Curve_TriquadraticFields::MaximumCurveOutput, maximumCurveOutput.get()); | |
| 933 | } else { | ||
| 934 | ✗ | result = setString(OS_Curve_TriquadraticFields::MaximumCurveOutput, ""); | |
| 935 | } | ||
| 936 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 time.
|
1 | OS_ASSERT(result); |
| 937 | 1 | return result; | |
| 938 | } | ||
| 939 | |||
| 940 | ✗ | void CurveTriquadratic_Impl::resetMaximumCurveOutput() { | |
| 941 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::MaximumCurveOutput, ""); | |
| 942 | ✗ | OS_ASSERT(result); | |
| 943 | ✗ | } | |
| 944 | |||
| 945 | ✗ | bool CurveTriquadratic_Impl::setInputUnitTypeforX(const std::string& inputUnitTypeforX) { | |
| 946 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::InputUnitTypeforX, inputUnitTypeforX); | |
| 947 | ✗ | return result; | |
| 948 | } | ||
| 949 | |||
| 950 | ✗ | void CurveTriquadratic_Impl::resetInputUnitTypeforX() { | |
| 951 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::InputUnitTypeforX, ""); | |
| 952 | ✗ | OS_ASSERT(result); | |
| 953 | ✗ | } | |
| 954 | |||
| 955 | ✗ | bool CurveTriquadratic_Impl::setInputUnitTypeforY(const std::string& inputUnitTypeforY) { | |
| 956 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::InputUnitTypeforY, inputUnitTypeforY); | |
| 957 | ✗ | return result; | |
| 958 | } | ||
| 959 | |||
| 960 | ✗ | void CurveTriquadratic_Impl::resetInputUnitTypeforY() { | |
| 961 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::InputUnitTypeforY, ""); | |
| 962 | ✗ | OS_ASSERT(result); | |
| 963 | ✗ | } | |
| 964 | |||
| 965 | ✗ | bool CurveTriquadratic_Impl::setInputUnitTypeforZ(const std::string& inputUnitTypeforZ) { | |
| 966 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::InputUnitTypeforZ, inputUnitTypeforZ); | |
| 967 | ✗ | return result; | |
| 968 | } | ||
| 969 | |||
| 970 | ✗ | void CurveTriquadratic_Impl::resetInputUnitTypeforZ() { | |
| 971 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::InputUnitTypeforZ, ""); | |
| 972 | ✗ | OS_ASSERT(result); | |
| 973 | ✗ | } | |
| 974 | |||
| 975 | ✗ | bool CurveTriquadratic_Impl::setOutputUnitType(const std::string& outputUnitType) { | |
| 976 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::OutputUnitType, outputUnitType); | |
| 977 | ✗ | return result; | |
| 978 | } | ||
| 979 | |||
| 980 | ✗ | void CurveTriquadratic_Impl::resetOutputUnitType() { | |
| 981 | ✗ | bool result = setString(OS_Curve_TriquadraticFields::OutputUnitType, ""); | |
| 982 | ✗ | OS_ASSERT(result); | |
| 983 | ✗ | } | |
| 984 | |||
| 985 | } // namespace detail | ||
| 986 | |||
| 987 | 19 | CurveTriquadratic::CurveTriquadratic(const Model& model) : Curve(CurveTriquadratic::iddObjectType(), model) { | |
| 988 |
1/3✗ Branch 2 not taken.
✓ Branch 3 taken 19 times.
✗ Branch 5 not taken.
|
19 | OS_ASSERT(getImpl<detail::CurveTriquadratic_Impl>()); |
| 989 | 19 | } | |
| 990 | |||
| 991 | 7774 | IddObjectType CurveTriquadratic::iddObjectType() { | |
| 992 |
1/1✓ Branch 1 taken 7774 times.
|
7774 | IddObjectType result(IddObjectType::OS_Curve_Triquadratic); |
| 993 | 7774 | return result; | |
| 994 | } | ||
| 995 | |||
| 996 | ✗ | std::vector<std::string> CurveTriquadratic::validInputUnitTypeforXValues() { | |
| 997 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Curve_TriquadraticFields::InputUnitTypeforX); | |
| 998 | } | ||
| 999 | |||
| 1000 | ✗ | std::vector<std::string> CurveTriquadratic::validInputUnitTypeforYValues() { | |
| 1001 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Curve_TriquadraticFields::InputUnitTypeforY); | |
| 1002 | } | ||
| 1003 | |||
| 1004 | ✗ | std::vector<std::string> CurveTriquadratic::validInputUnitTypeforZValues() { | |
| 1005 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Curve_TriquadraticFields::InputUnitTypeforZ); | |
| 1006 | } | ||
| 1007 | |||
| 1008 | ✗ | std::vector<std::string> CurveTriquadratic::validOutputUnitTypeValues() { | |
| 1009 | ✗ | return getIddKeyNames(IddFactory::instance().getObject(iddObjectType()).get(), OS_Curve_TriquadraticFields::OutputUnitType); | |
| 1010 | } | ||
| 1011 | |||
| 1012 | 11 | boost::optional<double> CurveTriquadratic::coefficient1Constant() const { | |
| 1013 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient1Constant(); |
| 1014 | } | ||
| 1015 | |||
| 1016 | 11 | boost::optional<double> CurveTriquadratic::coefficient2xPOW2() const { | |
| 1017 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient2xPOW2(); |
| 1018 | } | ||
| 1019 | |||
| 1020 | 11 | boost::optional<double> CurveTriquadratic::coefficient3x() const { | |
| 1021 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient3x(); |
| 1022 | } | ||
| 1023 | |||
| 1024 | 11 | boost::optional<double> CurveTriquadratic::coefficient4yPOW2() const { | |
| 1025 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient4yPOW2(); |
| 1026 | } | ||
| 1027 | |||
| 1028 | 11 | boost::optional<double> CurveTriquadratic::coefficient5y() const { | |
| 1029 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient5y(); |
| 1030 | } | ||
| 1031 | |||
| 1032 | 11 | boost::optional<double> CurveTriquadratic::coefficient6zPOW2() const { | |
| 1033 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient6zPOW2(); |
| 1034 | } | ||
| 1035 | |||
| 1036 | 11 | boost::optional<double> CurveTriquadratic::coefficient7z() const { | |
| 1037 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient7z(); |
| 1038 | } | ||
| 1039 | |||
| 1040 | 11 | boost::optional<double> CurveTriquadratic::coefficient8xPOW2TIMESYPOW2() const { | |
| 1041 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient8xPOW2TIMESYPOW2(); |
| 1042 | } | ||
| 1043 | |||
| 1044 | 11 | boost::optional<double> CurveTriquadratic::coefficient9xTIMESY() const { | |
| 1045 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient9xTIMESY(); |
| 1046 | } | ||
| 1047 | |||
| 1048 | 11 | boost::optional<double> CurveTriquadratic::coefficient10xTIMESYPOW2() const { | |
| 1049 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient10xTIMESYPOW2(); |
| 1050 | } | ||
| 1051 | |||
| 1052 | 11 | boost::optional<double> CurveTriquadratic::coefficient11xPOW2TIMESY() const { | |
| 1053 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient11xPOW2TIMESY(); |
| 1054 | } | ||
| 1055 | |||
| 1056 | 11 | boost::optional<double> CurveTriquadratic::coefficient12xPOW2TIMESZPOW2() const { | |
| 1057 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient12xPOW2TIMESZPOW2(); |
| 1058 | } | ||
| 1059 | |||
| 1060 | 11 | boost::optional<double> CurveTriquadratic::coefficient13xTIMESZ() const { | |
| 1061 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient13xTIMESZ(); |
| 1062 | } | ||
| 1063 | |||
| 1064 | 11 | boost::optional<double> CurveTriquadratic::coefficient14xTIMESZPOW2() const { | |
| 1065 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient14xTIMESZPOW2(); |
| 1066 | } | ||
| 1067 | |||
| 1068 | 11 | boost::optional<double> CurveTriquadratic::coefficient15xPOW2TIMESZ() const { | |
| 1069 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient15xPOW2TIMESZ(); |
| 1070 | } | ||
| 1071 | |||
| 1072 | 11 | boost::optional<double> CurveTriquadratic::coefficient16yPOW2TIMESZPOW2() const { | |
| 1073 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient16yPOW2TIMESZPOW2(); |
| 1074 | } | ||
| 1075 | |||
| 1076 | 11 | boost::optional<double> CurveTriquadratic::coefficient17yTIMESZ() const { | |
| 1077 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient17yTIMESZ(); |
| 1078 | } | ||
| 1079 | |||
| 1080 | 11 | boost::optional<double> CurveTriquadratic::coefficient18yTIMESZPOW2() const { | |
| 1081 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient18yTIMESZPOW2(); |
| 1082 | } | ||
| 1083 | |||
| 1084 | 11 | boost::optional<double> CurveTriquadratic::coefficient19yPOW2TIMESZ() const { | |
| 1085 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient19yPOW2TIMESZ(); |
| 1086 | } | ||
| 1087 | |||
| 1088 | 11 | boost::optional<double> CurveTriquadratic::coefficient20xPOW2TIMESYPOW2TIMESZPOW2() const { | |
| 1089 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient20xPOW2TIMESYPOW2TIMESZPOW2(); |
| 1090 | } | ||
| 1091 | |||
| 1092 | 11 | boost::optional<double> CurveTriquadratic::coefficient21xPOW2TIMESYPOW2TIMESZ() const { | |
| 1093 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient21xPOW2TIMESYPOW2TIMESZ(); |
| 1094 | } | ||
| 1095 | |||
| 1096 | 11 | boost::optional<double> CurveTriquadratic::coefficient22xPOW2TIMESYTIMESZPOW2() const { | |
| 1097 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient22xPOW2TIMESYTIMESZPOW2(); |
| 1098 | } | ||
| 1099 | |||
| 1100 | 11 | boost::optional<double> CurveTriquadratic::coefficient23xTIMESYPOW2TIMESZPOW2() const { | |
| 1101 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient23xTIMESYPOW2TIMESZPOW2(); |
| 1102 | } | ||
| 1103 | |||
| 1104 | 11 | boost::optional<double> CurveTriquadratic::coefficient24xPOW2TIMESYTIMESZ() const { | |
| 1105 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient24xPOW2TIMESYTIMESZ(); |
| 1106 | } | ||
| 1107 | |||
| 1108 | 11 | boost::optional<double> CurveTriquadratic::coefficient25xTIMESYPOW2TIMESZ() const { | |
| 1109 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient25xTIMESYPOW2TIMESZ(); |
| 1110 | } | ||
| 1111 | |||
| 1112 | 11 | boost::optional<double> CurveTriquadratic::coefficient26xTIMESYTIMESZPOW2() const { | |
| 1113 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient26xTIMESYTIMESZPOW2(); |
| 1114 | } | ||
| 1115 | |||
| 1116 | 11 | boost::optional<double> CurveTriquadratic::coefficient27xTIMESYTIMESZ() const { | |
| 1117 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->coefficient27xTIMESYTIMESZ(); |
| 1118 | } | ||
| 1119 | |||
| 1120 | 11 | boost::optional<double> CurveTriquadratic::minimumValueofx() const { | |
| 1121 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->minimumValueofx(); |
| 1122 | } | ||
| 1123 | |||
| 1124 | 11 | boost::optional<double> CurveTriquadratic::maximumValueofx() const { | |
| 1125 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->maximumValueofx(); |
| 1126 | } | ||
| 1127 | |||
| 1128 | 11 | boost::optional<double> CurveTriquadratic::minimumValueofy() const { | |
| 1129 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->minimumValueofy(); |
| 1130 | } | ||
| 1131 | |||
| 1132 | 11 | boost::optional<double> CurveTriquadratic::maximumValueofy() const { | |
| 1133 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->maximumValueofy(); |
| 1134 | } | ||
| 1135 | |||
| 1136 | 11 | boost::optional<double> CurveTriquadratic::minimumValueofz() const { | |
| 1137 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->minimumValueofz(); |
| 1138 | } | ||
| 1139 | |||
| 1140 | 11 | boost::optional<double> CurveTriquadratic::maximumValueofz() const { | |
| 1141 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->maximumValueofz(); |
| 1142 | } | ||
| 1143 | |||
| 1144 | 11 | boost::optional<double> CurveTriquadratic::minimumCurveOutput() const { | |
| 1145 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->minimumCurveOutput(); |
| 1146 | } | ||
| 1147 | |||
| 1148 | 11 | boost::optional<double> CurveTriquadratic::maximumCurveOutput() const { | |
| 1149 |
1/1✓ Branch 3 taken 11 times.
|
11 | return getImpl<detail::CurveTriquadratic_Impl>()->maximumCurveOutput(); |
| 1150 | } | ||
| 1151 | |||
| 1152 | ✗ | std::string CurveTriquadratic::inputUnitTypeforX() const { | |
| 1153 | ✗ | return getImpl<detail::CurveTriquadratic_Impl>()->inputUnitTypeforX(); | |
| 1154 | } | ||
| 1155 | |||
| 1156 | 8 | bool CurveTriquadratic::isInputUnitTypeforXDefaulted() const { | |
| 1157 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::CurveTriquadratic_Impl>()->isInputUnitTypeforXDefaulted(); |
| 1158 | } | ||
| 1159 | |||
| 1160 | ✗ | std::string CurveTriquadratic::inputUnitTypeforY() const { | |
| 1161 | ✗ | return getImpl<detail::CurveTriquadratic_Impl>()->inputUnitTypeforY(); | |
| 1162 | } | ||
| 1163 | |||
| 1164 | 8 | bool CurveTriquadratic::isInputUnitTypeforYDefaulted() const { | |
| 1165 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::CurveTriquadratic_Impl>()->isInputUnitTypeforYDefaulted(); |
| 1166 | } | ||
| 1167 | |||
| 1168 | ✗ | std::string CurveTriquadratic::inputUnitTypeforZ() const { | |
| 1169 | ✗ | return getImpl<detail::CurveTriquadratic_Impl>()->inputUnitTypeforZ(); | |
| 1170 | } | ||
| 1171 | |||
| 1172 | 8 | bool CurveTriquadratic::isInputUnitTypeforZDefaulted() const { | |
| 1173 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::CurveTriquadratic_Impl>()->isInputUnitTypeforZDefaulted(); |
| 1174 | } | ||
| 1175 | |||
| 1176 | ✗ | std::string CurveTriquadratic::outputUnitType() const { | |
| 1177 | ✗ | return getImpl<detail::CurveTriquadratic_Impl>()->outputUnitType(); | |
| 1178 | } | ||
| 1179 | |||
| 1180 | 8 | bool CurveTriquadratic::isOutputUnitTypeDefaulted() const { | |
| 1181 |
1/1✓ Branch 3 taken 8 times.
|
8 | return getImpl<detail::CurveTriquadratic_Impl>()->isOutputUnitTypeDefaulted(); |
| 1182 | } | ||
| 1183 | |||
| 1184 | 1 | bool CurveTriquadratic::setCoefficient1Constant(double coefficient1Constant) { | |
| 1185 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient1Constant(coefficient1Constant); |
| 1186 | } | ||
| 1187 | |||
| 1188 | ✗ | void CurveTriquadratic::resetCoefficient1Constant() { | |
| 1189 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient1Constant(); | |
| 1190 | ✗ | } | |
| 1191 | |||
| 1192 | 1 | bool CurveTriquadratic::setCoefficient2xPOW2(double coefficient2xPOW2) { | |
| 1193 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient2xPOW2(coefficient2xPOW2); |
| 1194 | } | ||
| 1195 | |||
| 1196 | ✗ | void CurveTriquadratic::resetCoefficient2xPOW2() { | |
| 1197 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient2xPOW2(); | |
| 1198 | ✗ | } | |
| 1199 | |||
| 1200 | 1 | bool CurveTriquadratic::setCoefficient3x(double coefficient3x) { | |
| 1201 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient3x(coefficient3x); |
| 1202 | } | ||
| 1203 | |||
| 1204 | ✗ | void CurveTriquadratic::resetCoefficient3x() { | |
| 1205 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient3x(); | |
| 1206 | ✗ | } | |
| 1207 | |||
| 1208 | 1 | bool CurveTriquadratic::setCoefficient4yPOW2(double coefficient4yPOW2) { | |
| 1209 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient4yPOW2(coefficient4yPOW2); |
| 1210 | } | ||
| 1211 | |||
| 1212 | ✗ | void CurveTriquadratic::resetCoefficient4yPOW2() { | |
| 1213 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient4yPOW2(); | |
| 1214 | ✗ | } | |
| 1215 | |||
| 1216 | 1 | bool CurveTriquadratic::setCoefficient5y(double coefficient5y) { | |
| 1217 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient5y(coefficient5y); |
| 1218 | } | ||
| 1219 | |||
| 1220 | ✗ | void CurveTriquadratic::resetCoefficient5y() { | |
| 1221 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient5y(); | |
| 1222 | ✗ | } | |
| 1223 | |||
| 1224 | 1 | bool CurveTriquadratic::setCoefficient6zPOW2(double coefficient6zPOW2) { | |
| 1225 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient6zPOW2(coefficient6zPOW2); |
| 1226 | } | ||
| 1227 | |||
| 1228 | ✗ | void CurveTriquadratic::resetCoefficient6zPOW2() { | |
| 1229 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient6zPOW2(); | |
| 1230 | ✗ | } | |
| 1231 | |||
| 1232 | 1 | bool CurveTriquadratic::setCoefficient7z(double coefficient7z) { | |
| 1233 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient7z(coefficient7z); |
| 1234 | } | ||
| 1235 | |||
| 1236 | ✗ | void CurveTriquadratic::resetCoefficient7z() { | |
| 1237 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient7z(); | |
| 1238 | ✗ | } | |
| 1239 | |||
| 1240 | 1 | bool CurveTriquadratic::setCoefficient8xPOW2TIMESYPOW2(double coefficient8xPOW2TIMESYPOW2) { | |
| 1241 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient8xPOW2TIMESYPOW2(coefficient8xPOW2TIMESYPOW2); |
| 1242 | } | ||
| 1243 | |||
| 1244 | ✗ | void CurveTriquadratic::resetCoefficient8xPOW2TIMESYPOW2() { | |
| 1245 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient8xPOW2TIMESYPOW2(); | |
| 1246 | ✗ | } | |
| 1247 | |||
| 1248 | 1 | bool CurveTriquadratic::setCoefficient9xTIMESY(double coefficient9xTIMESY) { | |
| 1249 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient9xTIMESY(coefficient9xTIMESY); |
| 1250 | } | ||
| 1251 | |||
| 1252 | ✗ | void CurveTriquadratic::resetCoefficient9xTIMESY() { | |
| 1253 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient9xTIMESY(); | |
| 1254 | ✗ | } | |
| 1255 | |||
| 1256 | 1 | bool CurveTriquadratic::setCoefficient10xTIMESYPOW2(double coefficient10xTIMESYPOW2) { | |
| 1257 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient10xTIMESYPOW2(coefficient10xTIMESYPOW2); |
| 1258 | } | ||
| 1259 | |||
| 1260 | ✗ | void CurveTriquadratic::resetCoefficient10xTIMESYPOW2() { | |
| 1261 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient10xTIMESYPOW2(); | |
| 1262 | ✗ | } | |
| 1263 | |||
| 1264 | 1 | bool CurveTriquadratic::setCoefficient11xPOW2TIMESY(double coefficient11xPOW2TIMESY) { | |
| 1265 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient11xPOW2TIMESY(coefficient11xPOW2TIMESY); |
| 1266 | } | ||
| 1267 | |||
| 1268 | ✗ | void CurveTriquadratic::resetCoefficient11xPOW2TIMESY() { | |
| 1269 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient11xPOW2TIMESY(); | |
| 1270 | ✗ | } | |
| 1271 | |||
| 1272 | 1 | bool CurveTriquadratic::setCoefficient12xPOW2TIMESZPOW2(double coefficient12xPOW2TIMESZPOW2) { | |
| 1273 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient12xPOW2TIMESZPOW2(coefficient12xPOW2TIMESZPOW2); |
| 1274 | } | ||
| 1275 | |||
| 1276 | ✗ | void CurveTriquadratic::resetCoefficient12xPOW2TIMESZPOW2() { | |
| 1277 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient12xPOW2TIMESZPOW2(); | |
| 1278 | ✗ | } | |
| 1279 | |||
| 1280 | 1 | bool CurveTriquadratic::setCoefficient13xTIMESZ(double coefficient13xTIMESZ) { | |
| 1281 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient13xTIMESZ(coefficient13xTIMESZ); |
| 1282 | } | ||
| 1283 | |||
| 1284 | ✗ | void CurveTriquadratic::resetCoefficient13xTIMESZ() { | |
| 1285 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient13xTIMESZ(); | |
| 1286 | ✗ | } | |
| 1287 | |||
| 1288 | 1 | bool CurveTriquadratic::setCoefficient14xTIMESZPOW2(double coefficient14xTIMESZPOW2) { | |
| 1289 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient14xTIMESZPOW2(coefficient14xTIMESZPOW2); |
| 1290 | } | ||
| 1291 | |||
| 1292 | ✗ | void CurveTriquadratic::resetCoefficient14xTIMESZPOW2() { | |
| 1293 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient14xTIMESZPOW2(); | |
| 1294 | ✗ | } | |
| 1295 | |||
| 1296 | 1 | bool CurveTriquadratic::setCoefficient15xPOW2TIMESZ(double coefficient15xPOW2TIMESZ) { | |
| 1297 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient15xPOW2TIMESZ(coefficient15xPOW2TIMESZ); |
| 1298 | } | ||
| 1299 | |||
| 1300 | ✗ | void CurveTriquadratic::resetCoefficient15xPOW2TIMESZ() { | |
| 1301 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient15xPOW2TIMESZ(); | |
| 1302 | ✗ | } | |
| 1303 | |||
| 1304 | 1 | bool CurveTriquadratic::setCoefficient16yPOW2TIMESZPOW2(double coefficient16yPOW2TIMESZPOW2) { | |
| 1305 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient16yPOW2TIMESZPOW2(coefficient16yPOW2TIMESZPOW2); |
| 1306 | } | ||
| 1307 | |||
| 1308 | ✗ | void CurveTriquadratic::resetCoefficient16yPOW2TIMESZPOW2() { | |
| 1309 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient16yPOW2TIMESZPOW2(); | |
| 1310 | ✗ | } | |
| 1311 | |||
| 1312 | 1 | bool CurveTriquadratic::setCoefficient17yTIMESZ(double coefficient17yTIMESZ) { | |
| 1313 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient17yTIMESZ(coefficient17yTIMESZ); |
| 1314 | } | ||
| 1315 | |||
| 1316 | ✗ | void CurveTriquadratic::resetCoefficient17yTIMESZ() { | |
| 1317 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient17yTIMESZ(); | |
| 1318 | ✗ | } | |
| 1319 | |||
| 1320 | 1 | bool CurveTriquadratic::setCoefficient18yTIMESZPOW2(double coefficient18yTIMESZPOW2) { | |
| 1321 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient18yTIMESZPOW2(coefficient18yTIMESZPOW2); |
| 1322 | } | ||
| 1323 | |||
| 1324 | ✗ | void CurveTriquadratic::resetCoefficient18yTIMESZPOW2() { | |
| 1325 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient18yTIMESZPOW2(); | |
| 1326 | ✗ | } | |
| 1327 | |||
| 1328 | 1 | bool CurveTriquadratic::setCoefficient19yPOW2TIMESZ(double coefficient19yPOW2TIMESZ) { | |
| 1329 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient19yPOW2TIMESZ(coefficient19yPOW2TIMESZ); |
| 1330 | } | ||
| 1331 | |||
| 1332 | ✗ | void CurveTriquadratic::resetCoefficient19yPOW2TIMESZ() { | |
| 1333 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient19yPOW2TIMESZ(); | |
| 1334 | ✗ | } | |
| 1335 | |||
| 1336 | 1 | bool CurveTriquadratic::setCoefficient20xPOW2TIMESYPOW2TIMESZPOW2(double coefficient20xPOW2TIMESYPOW2TIMESZPOW2) { | |
| 1337 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient20xPOW2TIMESYPOW2TIMESZPOW2(coefficient20xPOW2TIMESYPOW2TIMESZPOW2); |
| 1338 | } | ||
| 1339 | |||
| 1340 | ✗ | void CurveTriquadratic::resetCoefficient20xPOW2TIMESYPOW2TIMESZPOW2() { | |
| 1341 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient20xPOW2TIMESYPOW2TIMESZPOW2(); | |
| 1342 | ✗ | } | |
| 1343 | |||
| 1344 | 1 | bool CurveTriquadratic::setCoefficient21xPOW2TIMESYPOW2TIMESZ(double coefficient21xPOW2TIMESYPOW2TIMESZ) { | |
| 1345 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient21xPOW2TIMESYPOW2TIMESZ(coefficient21xPOW2TIMESYPOW2TIMESZ); |
| 1346 | } | ||
| 1347 | |||
| 1348 | ✗ | void CurveTriquadratic::resetCoefficient21xPOW2TIMESYPOW2TIMESZ() { | |
| 1349 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient21xPOW2TIMESYPOW2TIMESZ(); | |
| 1350 | ✗ | } | |
| 1351 | |||
| 1352 | 1 | bool CurveTriquadratic::setCoefficient22xPOW2TIMESYTIMESZPOW2(double coefficient22xPOW2TIMESYTIMESZPOW2) { | |
| 1353 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient22xPOW2TIMESYTIMESZPOW2(coefficient22xPOW2TIMESYTIMESZPOW2); |
| 1354 | } | ||
| 1355 | |||
| 1356 | ✗ | void CurveTriquadratic::resetCoefficient22xPOW2TIMESYTIMESZPOW2() { | |
| 1357 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient22xPOW2TIMESYTIMESZPOW2(); | |
| 1358 | ✗ | } | |
| 1359 | |||
| 1360 | 1 | bool CurveTriquadratic::setCoefficient23xTIMESYPOW2TIMESZPOW2(double coefficient23xTIMESYPOW2TIMESZPOW2) { | |
| 1361 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient23xTIMESYPOW2TIMESZPOW2(coefficient23xTIMESYPOW2TIMESZPOW2); |
| 1362 | } | ||
| 1363 | |||
| 1364 | ✗ | void CurveTriquadratic::resetCoefficient23xTIMESYPOW2TIMESZPOW2() { | |
| 1365 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient23xTIMESYPOW2TIMESZPOW2(); | |
| 1366 | ✗ | } | |
| 1367 | |||
| 1368 | 1 | bool CurveTriquadratic::setCoefficient24xPOW2TIMESYTIMESZ(double coefficient24xPOW2TIMESYTIMESZ) { | |
| 1369 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient24xPOW2TIMESYTIMESZ(coefficient24xPOW2TIMESYTIMESZ); |
| 1370 | } | ||
| 1371 | |||
| 1372 | ✗ | void CurveTriquadratic::resetCoefficient24xPOW2TIMESYTIMESZ() { | |
| 1373 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient24xPOW2TIMESYTIMESZ(); | |
| 1374 | ✗ | } | |
| 1375 | |||
| 1376 | 1 | bool CurveTriquadratic::setCoefficient25xTIMESYPOW2TIMESZ(double coefficient25xTIMESYPOW2TIMESZ) { | |
| 1377 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient25xTIMESYPOW2TIMESZ(coefficient25xTIMESYPOW2TIMESZ); |
| 1378 | } | ||
| 1379 | |||
| 1380 | ✗ | void CurveTriquadratic::resetCoefficient25xTIMESYPOW2TIMESZ() { | |
| 1381 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient25xTIMESYPOW2TIMESZ(); | |
| 1382 | ✗ | } | |
| 1383 | |||
| 1384 | 1 | bool CurveTriquadratic::setCoefficient26xTIMESYTIMESZPOW2(double coefficient26xTIMESYTIMESZPOW2) { | |
| 1385 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient26xTIMESYTIMESZPOW2(coefficient26xTIMESYTIMESZPOW2); |
| 1386 | } | ||
| 1387 | |||
| 1388 | ✗ | void CurveTriquadratic::resetCoefficient26xTIMESYTIMESZPOW2() { | |
| 1389 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient26xTIMESYTIMESZPOW2(); | |
| 1390 | ✗ | } | |
| 1391 | |||
| 1392 | 1 | bool CurveTriquadratic::setCoefficient27xTIMESYTIMESZ(double coefficient27xTIMESYTIMESZ) { | |
| 1393 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setCoefficient27xTIMESYTIMESZ(coefficient27xTIMESYTIMESZ); |
| 1394 | } | ||
| 1395 | |||
| 1396 | ✗ | void CurveTriquadratic::resetCoefficient27xTIMESYTIMESZ() { | |
| 1397 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetCoefficient27xTIMESYTIMESZ(); | |
| 1398 | ✗ | } | |
| 1399 | |||
| 1400 | 1 | bool CurveTriquadratic::setMinimumValueofx(double minimumValueofx) { | |
| 1401 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setMinimumValueofx(minimumValueofx); |
| 1402 | } | ||
| 1403 | |||
| 1404 | ✗ | void CurveTriquadratic::resetMinimumValueofx() { | |
| 1405 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetMinimumValueofx(); | |
| 1406 | ✗ | } | |
| 1407 | |||
| 1408 | 1 | bool CurveTriquadratic::setMaximumValueofx(double maximumValueofx) { | |
| 1409 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setMaximumValueofx(maximumValueofx); |
| 1410 | } | ||
| 1411 | |||
| 1412 | ✗ | void CurveTriquadratic::resetMaximumValueofx() { | |
| 1413 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetMaximumValueofx(); | |
| 1414 | ✗ | } | |
| 1415 | |||
| 1416 | 1 | bool CurveTriquadratic::setMinimumValueofy(double minimumValueofy) { | |
| 1417 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setMinimumValueofy(minimumValueofy); |
| 1418 | } | ||
| 1419 | |||
| 1420 | ✗ | void CurveTriquadratic::resetMinimumValueofy() { | |
| 1421 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetMinimumValueofy(); | |
| 1422 | ✗ | } | |
| 1423 | |||
| 1424 | 1 | bool CurveTriquadratic::setMaximumValueofy(double maximumValueofy) { | |
| 1425 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setMaximumValueofy(maximumValueofy); |
| 1426 | } | ||
| 1427 | |||
| 1428 | ✗ | void CurveTriquadratic::resetMaximumValueofy() { | |
| 1429 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetMaximumValueofy(); | |
| 1430 | ✗ | } | |
| 1431 | |||
| 1432 | 1 | bool CurveTriquadratic::setMinimumValueofz(double minimumValueofz) { | |
| 1433 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setMinimumValueofz(minimumValueofz); |
| 1434 | } | ||
| 1435 | |||
| 1436 | ✗ | void CurveTriquadratic::resetMinimumValueofz() { | |
| 1437 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetMinimumValueofz(); | |
| 1438 | ✗ | } | |
| 1439 | |||
| 1440 | 1 | bool CurveTriquadratic::setMaximumValueofz(double maximumValueofz) { | |
| 1441 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setMaximumValueofz(maximumValueofz); |
| 1442 | } | ||
| 1443 | |||
| 1444 | ✗ | void CurveTriquadratic::resetMaximumValueofz() { | |
| 1445 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetMaximumValueofz(); | |
| 1446 | ✗ | } | |
| 1447 | |||
| 1448 | 1 | bool CurveTriquadratic::setMinimumCurveOutput(double minimumCurveOutput) { | |
| 1449 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setMinimumCurveOutput(minimumCurveOutput); |
| 1450 | } | ||
| 1451 | |||
| 1452 | ✗ | void CurveTriquadratic::resetMinimumCurveOutput() { | |
| 1453 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetMinimumCurveOutput(); | |
| 1454 | ✗ | } | |
| 1455 | |||
| 1456 | 1 | bool CurveTriquadratic::setMaximumCurveOutput(double maximumCurveOutput) { | |
| 1457 |
2/2✓ Branch 3 taken 1 time.
✓ Branch 6 taken 1 time.
|
1 | return getImpl<detail::CurveTriquadratic_Impl>()->setMaximumCurveOutput(maximumCurveOutput); |
| 1458 | } | ||
| 1459 | |||
| 1460 | ✗ | void CurveTriquadratic::resetMaximumCurveOutput() { | |
| 1461 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetMaximumCurveOutput(); | |
| 1462 | ✗ | } | |
| 1463 | |||
| 1464 | ✗ | bool CurveTriquadratic::setInputUnitTypeforX(const std::string& inputUnitTypeforX) { | |
| 1465 | ✗ | return getImpl<detail::CurveTriquadratic_Impl>()->setInputUnitTypeforX(inputUnitTypeforX); | |
| 1466 | } | ||
| 1467 | |||
| 1468 | ✗ | void CurveTriquadratic::resetInputUnitTypeforX() { | |
| 1469 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetInputUnitTypeforX(); | |
| 1470 | ✗ | } | |
| 1471 | |||
| 1472 | ✗ | bool CurveTriquadratic::setInputUnitTypeforY(const std::string& inputUnitTypeforY) { | |
| 1473 | ✗ | return getImpl<detail::CurveTriquadratic_Impl>()->setInputUnitTypeforY(inputUnitTypeforY); | |
| 1474 | } | ||
| 1475 | |||
| 1476 | ✗ | void CurveTriquadratic::resetInputUnitTypeforY() { | |
| 1477 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetInputUnitTypeforY(); | |
| 1478 | ✗ | } | |
| 1479 | |||
| 1480 | ✗ | bool CurveTriquadratic::setInputUnitTypeforZ(const std::string& inputUnitTypeforZ) { | |
| 1481 | ✗ | return getImpl<detail::CurveTriquadratic_Impl>()->setInputUnitTypeforZ(inputUnitTypeforZ); | |
| 1482 | } | ||
| 1483 | |||
| 1484 | ✗ | void CurveTriquadratic::resetInputUnitTypeforZ() { | |
| 1485 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetInputUnitTypeforZ(); | |
| 1486 | ✗ | } | |
| 1487 | |||
| 1488 | ✗ | bool CurveTriquadratic::setOutputUnitType(const std::string& outputUnitType) { | |
| 1489 | ✗ | return getImpl<detail::CurveTriquadratic_Impl>()->setOutputUnitType(outputUnitType); | |
| 1490 | } | ||
| 1491 | |||
| 1492 | ✗ | void CurveTriquadratic::resetOutputUnitType() { | |
| 1493 | ✗ | getImpl<detail::CurveTriquadratic_Impl>()->resetOutputUnitType(); | |
| 1494 | ✗ | } | |
| 1495 | |||
| 1496 | /// @cond | ||
| 1497 |
1/1✓ Branch 3 taken 12 times.
|
12 | CurveTriquadratic::CurveTriquadratic(std::shared_ptr<detail::CurveTriquadratic_Impl> impl) : Curve(std::move(impl)) {} |
| 1498 | /// @endcond | ||
| 1499 | |||
| 1500 | } // namespace model | ||
| 1501 | } // namespace openstudio | ||
| 1502 |